mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
订单分账逻辑
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package com.jsowell.adapay.operation;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
/**
|
||||
* 汇付相关操作需要的信息
|
||||
* Operation
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class AdapayOperationInfo {
|
||||
/**
|
||||
* 分账用户 Member对象 的 id;若是商户本身时,传入0
|
||||
*/
|
||||
private String adapayMemberId;
|
||||
|
||||
// 商户唯一标识,通常使用微信小程序appId
|
||||
private String merchantKey;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.jsowell.adapay.operation;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 支付确认操作对象
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class PaymentConfirmOperation extends AdapayOperationInfo{
|
||||
private String paymentId;
|
||||
|
||||
private BigDecimal confirmAmt;
|
||||
|
||||
private String orderCode;
|
||||
}
|
||||
Reference in New Issue
Block a user