new-dev
parent
f091875cb7
commit
5487d5d6be
File diff suppressed because one or more lines are too long
@ -0,0 +1,24 @@ |
||||
package com.hai.order.model.combine; |
||||
|
||||
import lombok.Data; |
||||
|
||||
/** |
||||
* @author sum1dream |
||||
*/ |
||||
@Data |
||||
public class Amount { |
||||
|
||||
/** |
||||
* @Author Sum1Dream |
||||
* @Description // 标价金额 子单金额,单位为分。
|
||||
* @Date 2023/8/7 15:21 |
||||
*/ |
||||
private Integer totalAmount; |
||||
|
||||
/** |
||||
* @Author Sum1Dream |
||||
* @Description // 标价币种 人民币:CNY。
|
||||
* @Date 2023/8/7 15:21 |
||||
*/ |
||||
private String currency; |
||||
} |
@ -1,44 +1,57 @@ |
||||
package com.hai.order.model.combine; |
||||
|
||||
import com.alibaba.fastjson.JSONObject; |
||||
import com.hai.order.model.CreateOrderModel; |
||||
import lombok.Data; |
||||
|
||||
import java.util.List; |
||||
|
||||
public class CombineOrderModel { |
||||
/** |
||||
* 公司id |
||||
/** |
||||
* @author sum1dream |
||||
*/ |
||||
private Long companyId; |
||||
@Data |
||||
public class CombineOrderModel { |
||||
|
||||
/** |
||||
* 用户id |
||||
* @Author Sum1Dream |
||||
* @Description // 合单商户appid
|
||||
* @Date 2023/8/7 15:21 |
||||
*/ |
||||
private Long userId; |
||||
private String combineAppid; |
||||
|
||||
/** |
||||
* 用户名称 |
||||
* @Author Sum1Dream |
||||
* @Description // 合单商户号
|
||||
* @Date 2023/8/7 15:21 |
||||
*/ |
||||
private String userName; |
||||
private String combineMchId; |
||||
|
||||
/** |
||||
* 用户手机号 |
||||
* @Author Sum1Dream |
||||
* @Description // 合单商户订单号
|
||||
* @Date 2023/8/7 15:21 |
||||
*/ |
||||
private String userPhone; |
||||
private String combineOutTradeNo; |
||||
|
||||
/** |
||||
* 用户优惠券关系id |
||||
* @Author Sum1Dream |
||||
* @Description // 子单信息
|
||||
* @Date 2023/8/7 15:21 |
||||
*/ |
||||
private Long memDiscountId; |
||||
private List<SubOrders> subOrders; |
||||
|
||||
/** |
||||
* 支付积分(金币) |
||||
* @Author Sum1Dream |
||||
* @Description // 支付者信息
|
||||
* @Date 2023/8/7 15:21 |
||||
*/ |
||||
private Integer payGold; |
||||
private JSONObject combinePayerInfo; |
||||
|
||||
/** |
||||
* 支付密码 |
||||
* @Author Sum1Dream |
||||
* @Description // 接收微信支付异步通知回调地址
|
||||
* @Date 2023/8/7 15:21 |
||||
*/ |
||||
private String payPwd; |
||||
|
||||
List<CreateOrderModel> createOrderModelList; |
||||
private String notifyUrl; |
||||
|
||||
} |
||||
|
@ -0,0 +1,20 @@ |
||||
package com.hai.order.model.combine; |
||||
|
||||
import com.hai.order.model.CreateOrderModel; |
||||
import lombok.Data; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* @author sum1dream |
||||
*/ |
||||
@Data |
||||
public class CreateCombine { |
||||
|
||||
/** |
||||
* @Author Sum1Dream |
||||
* @Description // 合单商户号
|
||||
* @Date 2023/8/7 15:21 |
||||
*/ |
||||
private List<CreateOrderModel> createOrderModel; |
||||
} |
@ -0,0 +1,54 @@ |
||||
package com.hai.order.model.combine; |
||||
|
||||
import lombok.Data; |
||||
|
||||
/** |
||||
* @author sum1dream |
||||
*/ |
||||
@Data |
||||
public class SubOrders { |
||||
|
||||
/** |
||||
* @Author Sum1Dream |
||||
* @Description // 子单商户号
|
||||
* @Date 2023/8/7 15:21 |
||||
*/ |
||||
private String mchId; |
||||
|
||||
/** |
||||
* @Author Sum1Dream |
||||
* @Description // 附加数据
|
||||
* @Date 2023/8/7 15:21 |
||||
*/ |
||||
private String attach; |
||||
|
||||
/** |
||||
* @Author Sum1Dream |
||||
* @Description // 订单金额
|
||||
* @Date 2023/8/7 15:21 |
||||
*/ |
||||
private Amount amount; |
||||
|
||||
/** |
||||
* @Author Sum1Dream |
||||
* @Description // 子单商户订单号
|
||||
* @Date 2023/8/7 15:21 |
||||
*/ |
||||
private String outTradeNo; |
||||
|
||||
/** |
||||
* @Author Sum1Dream |
||||
* @Description // 子单商户订单号
|
||||
* @Date 2023/8/7 15:21 |
||||
*/ |
||||
private String subMchId; |
||||
|
||||
/** |
||||
* @Author Sum1Dream |
||||
* @Description // 商品描述
|
||||
* @Date 2023/8/7 15:21 |
||||
*/ |
||||
private String description; |
||||
|
||||
|
||||
} |
Loading…
Reference in new issue