RefundNoticeDTO.java 995 B

1234567891011121314151617181920212223242526272829303132333435
  1. package com.tzy.dto;
  2. import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
  3. import com.tzy.common.constant.Constants;
  4. import lombok.AllArgsConstructor;
  5. import lombok.Data;
  6. import lombok.NoArgsConstructor;
  7. import java.io.Serializable;
  8. import java.math.BigDecimal;
  9. @Data
  10. @JsonIgnoreProperties(ignoreUnknown = true)
  11. @AllArgsConstructor
  12. @NoArgsConstructor
  13. public class RefundNoticeDTO implements Serializable {
  14. /**退款类型:amount_async*/
  15. private String type;
  16. /**退款类型:amount和point*/
  17. private String subType;
  18. private Long orderId;
  19. private BigDecimal refundFee;
  20. /**订单唯一标识*/
  21. private String refundId;
  22. //交易编号
  23. private String tradeNo;
  24. public RefundNoticeDTO(String subType,Long orderId, BigDecimal refundFee, String refundId) {
  25. this.subType = subType;
  26. this.orderId = orderId;
  27. this.refundFee = refundFee;
  28. this.refundId = refundId;
  29. this.type = Constants.ASYNC_REFUND_TYPE;
  30. }
  31. }