mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-07-03 17:05:01 +08:00
多笔退款退款接口实现
This commit is contained in:
@@ -0,0 +1,112 @@
|
||||
package com.egzosn.pay.common.bean;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 退款订单信息
|
||||
* @author: egan
|
||||
* <pre>
|
||||
* email egzosn@gmail.com
|
||||
* date 2018/1/15 21:40
|
||||
* </pre>
|
||||
*/
|
||||
public class RefundOrder {
|
||||
/**
|
||||
* 退款单号,每次进行退款的单号,此处唯一
|
||||
*/
|
||||
private String refundNo;
|
||||
/**
|
||||
* 支付平台订单号,交易号
|
||||
*/
|
||||
private String tradeNo;
|
||||
/**
|
||||
* 商户单号
|
||||
*/
|
||||
private String outTradeNo;
|
||||
/**
|
||||
* 退款金额
|
||||
*/
|
||||
private BigDecimal refundAmount;
|
||||
/**
|
||||
* 订单总金额
|
||||
*/
|
||||
private BigDecimal totalAmount;
|
||||
|
||||
/**
|
||||
* 交易日期
|
||||
*/
|
||||
private Date orderDate;
|
||||
|
||||
public String getRefundNo() {
|
||||
return refundNo;
|
||||
}
|
||||
|
||||
public void setRefundNo(String refundNo) {
|
||||
this.refundNo = refundNo;
|
||||
}
|
||||
|
||||
public String getTradeNo() {
|
||||
return tradeNo;
|
||||
}
|
||||
|
||||
public void setTradeNo(String tradeNo) {
|
||||
this.tradeNo = tradeNo;
|
||||
}
|
||||
|
||||
public String getOutTradeNo() {
|
||||
return outTradeNo;
|
||||
}
|
||||
|
||||
public void setOutTradeNo(String outTradeNo) {
|
||||
this.outTradeNo = outTradeNo;
|
||||
}
|
||||
|
||||
public BigDecimal getRefundAmount() {
|
||||
return refundAmount;
|
||||
}
|
||||
|
||||
public void setRefundAmount(BigDecimal refundAmount) {
|
||||
this.refundAmount = refundAmount;
|
||||
}
|
||||
|
||||
public BigDecimal getTotalAmount() {
|
||||
return totalAmount;
|
||||
}
|
||||
|
||||
public void setTotalAmount(BigDecimal totalAmount) {
|
||||
this.totalAmount = totalAmount;
|
||||
}
|
||||
|
||||
public Date getOrderDate() {
|
||||
return orderDate;
|
||||
}
|
||||
|
||||
public void setOrderDate(Date orderDate) {
|
||||
this.orderDate = orderDate;
|
||||
}
|
||||
|
||||
public RefundOrder() {
|
||||
}
|
||||
|
||||
public RefundOrder(String refundNo, String tradeNo, BigDecimal refundAmount) {
|
||||
this.refundNo = refundNo;
|
||||
this.tradeNo = tradeNo;
|
||||
this.refundAmount = refundAmount;
|
||||
}
|
||||
|
||||
public RefundOrder(String tradeNo, String outTradeNo, BigDecimal refundAmount, BigDecimal totalAmount) {
|
||||
this.tradeNo = tradeNo;
|
||||
this.outTradeNo = outTradeNo;
|
||||
this.refundAmount = refundAmount;
|
||||
this.totalAmount = totalAmount;
|
||||
}
|
||||
|
||||
public RefundOrder(String refundNo, String tradeNo, String outTradeNo, BigDecimal refundAmount, BigDecimal totalAmount) {
|
||||
this.refundNo = refundNo;
|
||||
this.tradeNo = tradeNo;
|
||||
this.outTradeNo = outTradeNo;
|
||||
this.refundAmount = refundAmount;
|
||||
this.totalAmount = totalAmount;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user