com.zopen.alipay.pay.dto.AlipayNotifyDto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zopen-ato-starter Show documentation
Show all versions of zopen-ato-starter Show documentation
Alibaba Tencent And Others For Spring Boot.
package com.zopen.alipay.pay.dto;
import java.math.BigDecimal;
/**
* 支付宝异步通知的内容
*
* @author [email protected]
* @since 2019/8/25
*/
public class AlipayNotifyDto {
// 通知的发送时间。格式为 2015-14-27 15:45:58
private String notify_time;
// 通知的类型。例:trade_status_sync
private String notify_type;
// 通知校验ID
private String notify_id;
private String app_id;
private String charset;
private String version;
private String sign_type;
private String sign;
// 支付宝交易号
private String trade_no;
// 商户订单号
private String out_trade_no;
private String out_biz_no;
// 买家支付宝用户号
private String buyer_id;
// 买家支付宝账号,例:15901825620
private String buyer_logon_id;
// 卖家支付宝用户号,例:2088101106499364
private String seller_id;
// 卖家支付宝账号,例:[email protected]
private String seller_email;
/**
* 交易状态
* {@link com.zopen.alipay.pay.dto.constant.AlipayTradeStateEnum}
*/
private String trade_status;
// 本次交易支付的订单金额,单位为人民币(元)
private BigDecimal total_amount;
// 商家在交易中实际收到的款项,单位为元
private BigDecimal receipt_amount;
// 用户在交易中支付的可开发票的金额
private BigDecimal invoice_amount;
// 用户在交易中支付的金额
private BigDecimal buyer_pay_amount;
// 使用集分宝支付的金额
private BigDecimal point_amount;
// 退款通知中,返回总退款金额,单位为元,支持两位小数
private BigDecimal refund_fee;
private String subject;
private String body;
// 该笔交易创建的时间。格式为yyyy-MM-dd HH:mm:ss
private String gmt_create;
// 该笔交易的买家付款时间。格式为yyyy-MM-dd HH:mm:ss
private String gmt_payment;
// 该笔交易的退款时间。格式为yyyy-MM-dd HH:mm:ss.S
private String gmt_refund;
// 该笔交易结束时间。格式为yyyy-MM-dd HH:mm:ss
private String gmt_close;
private String fund_bill_list;
private String passback_params;
private String voucher_detail_list;
@Override
public String toString() {
return "AlipayNotifyDto{" +
"notify_time='" + notify_time + '\'' +
", notify_type='" + notify_type + '\'' +
", notify_id='" + notify_id + '\'' +
", app_id='" + app_id + '\'' +
", charset='" + charset + '\'' +
", version='" + version + '\'' +
", sign_type='" + sign_type + '\'' +
", sign='" + sign + '\'' +
", trade_no='" + trade_no + '\'' +
", out_trade_no='" + out_trade_no + '\'' +
", out_biz_no='" + out_biz_no + '\'' +
", buyer_id='" + buyer_id + '\'' +
", buyer_logon_id='" + buyer_logon_id + '\'' +
", seller_id='" + seller_id + '\'' +
", seller_email='" + seller_email + '\'' +
", trade_status='" + trade_status + '\'' +
", total_amount=" + total_amount +
", receipt_amount=" + receipt_amount +
", invoice_amount=" + invoice_amount +
", buyer_pay_amount=" + buyer_pay_amount +
", point_amount=" + point_amount +
", refund_fee=" + refund_fee +
", subject='" + subject + '\'' +
", body='" + body + '\'' +
", gmt_create='" + gmt_create + '\'' +
", gmt_payment='" + gmt_payment + '\'' +
", gmt_refund='" + gmt_refund + '\'' +
", gmt_close='" + gmt_close + '\'' +
", fund_bill_list='" + fund_bill_list + '\'' +
", passback_params='" + passback_params + '\'' +
", voucher_detail_list='" + voucher_detail_list + '\'' +
'}';
}
public String getNotify_time() {
return notify_time;
}
public void setNotify_time(String notify_time) {
this.notify_time = notify_time;
}
public String getNotify_type() {
return notify_type;
}
public void setNotify_type(String notify_type) {
this.notify_type = notify_type;
}
public String getNotify_id() {
return notify_id;
}
public void setNotify_id(String notify_id) {
this.notify_id = notify_id;
}
public String getApp_id() {
return app_id;
}
public void setApp_id(String app_id) {
this.app_id = app_id;
}
public String getCharset() {
return charset;
}
public void setCharset(String charset) {
this.charset = charset;
}
public String getVersion() {
return version;
}
public void setVersion(String version) {
this.version = version;
}
public String getSign_type() {
return sign_type;
}
public void setSign_type(String sign_type) {
this.sign_type = sign_type;
}
public String getSign() {
return sign;
}
public void setSign(String sign) {
this.sign = sign;
}
public String getTrade_no() {
return trade_no;
}
public void setTrade_no(String trade_no) {
this.trade_no = trade_no;
}
public String getOut_trade_no() {
return out_trade_no;
}
public void setOut_trade_no(String out_trade_no) {
this.out_trade_no = out_trade_no;
}
public String getOut_biz_no() {
return out_biz_no;
}
public void setOut_biz_no(String out_biz_no) {
this.out_biz_no = out_biz_no;
}
public String getBuyer_id() {
return buyer_id;
}
public void setBuyer_id(String buyer_id) {
this.buyer_id = buyer_id;
}
public String getBuyer_logon_id() {
return buyer_logon_id;
}
public void setBuyer_logon_id(String buyer_logon_id) {
this.buyer_logon_id = buyer_logon_id;
}
public String getSeller_id() {
return seller_id;
}
public void setSeller_id(String seller_id) {
this.seller_id = seller_id;
}
public String getSeller_email() {
return seller_email;
}
public void setSeller_email(String seller_email) {
this.seller_email = seller_email;
}
public String getTrade_status() {
return trade_status;
}
public void setTrade_status(String trade_status) {
this.trade_status = trade_status;
}
public BigDecimal getTotal_amount() {
return total_amount;
}
public void setTotal_amount(BigDecimal total_amount) {
this.total_amount = total_amount;
}
public BigDecimal getReceipt_amount() {
return receipt_amount;
}
public void setReceipt_amount(BigDecimal receipt_amount) {
this.receipt_amount = receipt_amount;
}
public BigDecimal getInvoice_amount() {
return invoice_amount;
}
public void setInvoice_amount(BigDecimal invoice_amount) {
this.invoice_amount = invoice_amount;
}
public BigDecimal getBuyer_pay_amount() {
return buyer_pay_amount;
}
public void setBuyer_pay_amount(BigDecimal buyer_pay_amount) {
this.buyer_pay_amount = buyer_pay_amount;
}
public BigDecimal getPoint_amount() {
return point_amount;
}
public void setPoint_amount(BigDecimal point_amount) {
this.point_amount = point_amount;
}
public BigDecimal getRefund_fee() {
return refund_fee;
}
public void setRefund_fee(BigDecimal refund_fee) {
this.refund_fee = refund_fee;
}
public String getSubject() {
return subject;
}
public void setSubject(String subject) {
this.subject = subject;
}
public String getBody() {
return body;
}
public void setBody(String body) {
this.body = body;
}
public String getGmt_create() {
return gmt_create;
}
public void setGmt_create(String gmt_create) {
this.gmt_create = gmt_create;
}
public String getGmt_payment() {
return gmt_payment;
}
public void setGmt_payment(String gmt_payment) {
this.gmt_payment = gmt_payment;
}
public String getGmt_refund() {
return gmt_refund;
}
public void setGmt_refund(String gmt_refund) {
this.gmt_refund = gmt_refund;
}
public String getGmt_close() {
return gmt_close;
}
public void setGmt_close(String gmt_close) {
this.gmt_close = gmt_close;
}
public String getFund_bill_list() {
return fund_bill_list;
}
public void setFund_bill_list(String fund_bill_list) {
this.fund_bill_list = fund_bill_list;
}
public String getPassback_params() {
return passback_params;
}
public void setPassback_params(String passback_params) {
this.passback_params = passback_params;
}
public String getVoucher_detail_list() {
return voucher_detail_list;
}
public void setVoucher_detail_list(String voucher_detail_list) {
this.voucher_detail_list = voucher_detail_list;
}
}