| | |
| | | package com.hz.his.dto.order; |
| | | |
| | | import com.hz.his.dto.refund.RefundPreferentialDto; |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | |
| | | @Data |
| | | public class OrderRefundDto { |
| | | |
| | | /** 退款方式集合 */ |
| | | private List<OrderPayMethodDto> refundPayMethod; |
| | | /** 备注 */ |
| | | private String remarks; |
| | | /** 退款信息集合 */ |
| | | private List<OrderItemRefundDto> refundList; |
| | | /** 订单id */ |
| | | private String orderId; |
| | | /** 退款类型(0:退次数退款,1:仅退款 默认:0) */ |
| | | private Integer refundType; |
| | | /** 操作人id */ |
| | | private String operatorId; |
| | | |
| | | //总订单领建标识 |
| | | private String hisOrderId; |
| | | |
| | | //非必填 重发标识 |
| | | private String resendRecordId; |
| | | |
| | | /** 退款金额 */ |
| | | private BigDecimal totalAmount; |
| | | /** 退款信息集合 必填 */ |
| | | /** 退款类型(0:全部退款,1:部分退款) */ |
| | | private Integer refundOperationType; |
| | | /** 退款信息集合 */ |
| | | private List<OrderItemRefundDto> refundList; |
| | | /** 退款方式集合 */ |
| | | private List<OrderPayMethodDto> refundPayMethod; |
| | | /** 退款优惠券信息集合 必填 */ |
| | | private List<OrderCouponRefunDto> couponList; |
| | | /** 操作人角色id 必填*/ |
| | | /** 退款备注(员工) */ |
| | | private String remarks; |
| | | /** 退款原因(用户) */ |
| | | private String refundReason; |
| | | /** Y-自动作废划扣 0否1是(整单退的时候用到)*/ |
| | | private Integer deductionCancel = 0; |
| | | |
| | | /** 操作人员工标识*/ |
| | | private String operatorId; |
| | | /** 操作人员工角色标识-必填*/ |
| | | private String roleId; |
| | | |
| | | /** 是否需要审批 (0否 1是) 必填*/ |
| | | private Integer isApproval; |
| | | |
| | | /** 是否自动生成退款单 (0否 1是) 必填*/ |
| | | private Integer isRefund; |
| | | |
| | | //////系统参数 |
| | | /** 可退款总金额(额外数据),parameterVerification方法校验的时候赋值 */ |
| | | private BigDecimal totalAmount; |
| | | /** 可退款总积分(额外数据),parameterVerification方法校验的时候赋值 */ |
| | | private BigDecimal totalIntegral; |
| | | /** 选择退款总金额(额外数据),parameterVerification方法校验的时候赋值 */ |
| | | private BigDecimal refundTotal; |
| | | /** 选择退款总金额(额外数据),parameterVerification方法校验的时候赋值 */ |
| | | private BigDecimal refundIntegral; |
| | | |
| | | /** 可退款被积分抵扣的现金数量,parameterVerification方法校验的时候赋值 */ |
| | | private BigDecimal totalDeductAmount; |
| | | /** 可退款抵扣现金的积分数量,parameterVerification方法校验的时候赋值 */ |
| | | private BigDecimal totalDeductIntegral; |
| | | /** 填写的退款被积分抵扣的现金数量,parameterVerification方法校验的时候赋值 */ |
| | | private BigDecimal refundDeductAmount; |
| | | /** 填写的退款抵扣现金的积分数量,parameterVerification方法校验的时候赋值 */ |
| | | private BigDecimal refundDeductIntegral; |
| | | |
| | | /** 可退款方式集合 */ |
| | | private List<OrderPayMethodDto> payMethodList; |
| | | /** 可退款优惠券信息集合 */ |
| | | private List<OrderCouponRefunDto> payCouponList; |
| | | |
| | | /** 平台来源 因为是his助手取消订单的话就要自动确认退款单 必填*/ |
| | | private Integer platformSource; |
| | | |
| | | /**his助手*/ |
| | | public static Integer HIS_ASSISTANT = 0; |
| | | /** 是否第三方退款(0否1是) */ |
| | | private Integer isThirdPartyRefund = 1; |
| | | |
| | | /**his后台*/ |
| | | public static Integer HIS_BACKSTAGE = 1; |
| | | /**必填:退费统计类型(RefundRecord)*/ |
| | | private String refundStatistics; |
| | | |
| | | /**是否归还商品 0=否 1=是*/ |
| | | private Integer isReturnBack; |
| | | |
| | | /**备用参数*/ |
| | | //总订单领建标识 |
| | | private String hisOrderId; |
| | | //非必填 重发标识 |
| | | private String resendRecordId; |
| | | |
| | | /** 退款优惠 */ |
| | | private RefundPreferentialDto refundPreferentialDto; |
| | | |
| | | } |