| | |
| | | |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Data |
| | | public class PayDto { |
| | | //是否是按项目付款,0:否,1:是 |
| | | |
| | | /**必填 是否是按项目付款,0:否,1:是,默认:0*/ |
| | | private Integer type; |
| | | //订单id 必填 |
| | | /**必填 订单id*/ |
| | | private String orderId; |
| | | //应付总金额 必填 |
| | | /**必填 应付总金额*/ |
| | | private String total; |
| | | //结账参数 必填 |
| | | /**必填 结账参数*/ |
| | | private List<PayAmountDto> amount; |
| | | //操作人标识 必填,crm填用户 |
| | | /**必填 操作人标识,crm填用户*/ |
| | | private String operatorId; |
| | | //优惠券id |
| | | /** 操作人角色(升单结账必填,退款使用) */ |
| | | private String opRoleId; |
| | | |
| | | /**支付用户*/ |
| | | private String payUserId; |
| | | |
| | | /**非必填 优惠券id*/ |
| | | private String userCouponId; |
| | | //订单领建标识 |
| | | |
| | | /**非必填 订单领建标识*/ |
| | | private String hisOrderId; |
| | | /**非必填 收银员id*/ |
| | | private String cashier; |
| | | |
| | | /**非必填 收银员门店*/ |
| | | private String cashierShopId; |
| | | /**优惠券校验版本(默认0)第一版为0,门店助手上线版本为1*/ |
| | | private Integer couponCheckVersion = 0; |
| | | /**非必填 优惠券id集合*/ |
| | | private List<String> userCouponIds; |
| | | |
| | | /**ocr大众点评订单图片地址*/ |
| | | private String orderOCRImageUrl; |
| | | |
| | | /**第三方订单编号*/ |
| | | private String otherOrderNo; |
| | | /**第三方兑换码*/ |
| | | private String redemptionCode; |
| | | |
| | | /**结账之后是否直接划扣:0否1是*/ |
| | | private Integer directDeduction = 0; |
| | | /**卡扣不判断过期时间:0否1是*/ |
| | | private Integer cardPass = 0; |
| | | |
| | | /**非必填 可以参与积分抵扣结账的商品标识*/ |
| | | private List<String> canIntegralCashIdList; |
| | | |
| | | /**结账后赠送*/ |
| | | private PaySendDto paySendDto; |
| | | |
| | | } |