| 1234567891011121314151617181920212223242526272829303132333435 |
- package com.tzy.dto;
- import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
- import com.tzy.common.constant.Constants;
- import lombok.AllArgsConstructor;
- import lombok.Data;
- import lombok.NoArgsConstructor;
- import java.io.Serializable;
- import java.math.BigDecimal;
- @Data
- @JsonIgnoreProperties(ignoreUnknown = true)
- @AllArgsConstructor
- @NoArgsConstructor
- public class RefundNoticeDTO implements Serializable {
- /**退款类型:amount_async*/
- private String type;
- /**退款类型:amount和point*/
- private String subType;
- private Long orderId;
- private BigDecimal refundFee;
- /**订单唯一标识*/
- private String refundId;
- //交易编号
- private String tradeNo;
- public RefundNoticeDTO(String subType,Long orderId, BigDecimal refundFee, String refundId) {
- this.subType = subType;
- this.orderId = orderId;
- this.refundFee = refundFee;
- this.refundId = refundId;
- this.type = Constants.ASYNC_REFUND_TYPE;
- }
- }
|