| | |
| | | |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | |
| | | /** |
| | | * 结账金额集合 |
| | | * |
| | |
| | | */ |
| | | @Data |
| | | public class PayAmountDto { |
| | | /**是否已提前扣取,例如拼团订单先扣取,后续结账不用再扣减*/ |
| | | private Boolean isPay = false; |
| | | /**已提前扣取的记录标识*/ |
| | | private String isPayId; |
| | | |
| | | /**必填 实际支付金额*/ |
| | | private String amount; |
| | | private BigDecimal amount; |
| | | /**必填 支付方式*/ |
| | | private String method; |
| | | /**必填 商品/项目id/组合项标识(卡项支付时必传组合项标识)*/ |
| | | private String commonId; |
| | | /**必填 抵扣实际支付的金额 如果是积分抵扣现金这里存的是要支付的积分*/ |
| | | private BigDecimal deductionAmount = BigDecimal.ZERO; |
| | | |
| | | /**非必填 商品/项目id/组合项标识(卡项支付时必传组合项标识)*/ |
| | | private String commonId; |
| | | /**非必填 权益类型:卡项支付必传*/ |
| | | private String cardEquityId; |
| | | /**非必填 卡包标识:卡项支付必传*/ |
| | | private String userCardId; |
| | | |
| | | /** |
| | | * 标记字段,默认0 |
| | | * 支付方式为积分时: |
| | | * isDel=100,则phis这边需要扣减用户积分 |
| | | * isDel=101,则phis这边不需要扣减用户积分 |
| | | */ |
| | | private Integer isDel = 0; |
| | | |
| | | /**非必填 第三方订单编号*/ |
| | | private String otherOrderNo; |
| | | /**非必填 次级订单号或兑换码*/ |
| | | private String assistOrderNo; |
| | | /**非必填 OCR识别图片链接*/ |
| | | private String ocrImageUrl; |
| | | } |