package com.kk.wechat.response;
import com.kk.wechat.annotation.ApiResponseField;
import java.util.Date;
/**
* 微信支付成功,异步通知接口
*/
public class WechatPayPayNotifyResponse extends WechatPayResponse {
@ApiResponseField("appid")
private String appId;
@ApiResponseField("mch_id")
private String mchId;
@ApiResponseField("device_info")
private String deviceInfo;
@ApiResponseField("nonce_str")
private String nonceStr;
@ApiResponseField("sign")
private String sign;
@ApiResponseField("err_code")
private String errCode;
@ApiResponseField("err_code_des")
private String errCodeDes;
// 客户 微信 openid
@ApiResponseField("openid")
private String openId;
// 是否关注公众账号
@ApiResponseField("is_subscribe")
private String isSubscribe;
// @ApiResponseField("trade_state")
// private String tradeState;
// 交易方式 TradeTypeCode
@ApiResponseField("trade_type")
private String tradeType;
//付款银行 银行类型,采用字符串类型的银行标识
@ApiResponseField("bank_type")
private String bankType;
// 总金额 单位为分
@ApiResponseField("total_fee")
private String totalFee;
// 货币种类 默认人民币,CNY
@ApiResponseField("fee_type")
private String feeType;
// 微信支付订单号,微信内部订单号
@ApiResponseField("transaction_id")
private String transactionId;
// 客户订单号
@ApiResponseField("out_trade_no")
private String outTradeNo;
// 附加数据, 统一下单时候 传过来的 再原样传回去
@ApiResponseField("attach")
private String attach;
// 支付完成时间 格式为yyyyMMddHHmmss
@ApiResponseField("time_end")
private Date timeEnd;
// @ApiResponseField("trade_state_desc")
// private String tradeStateDesc;
public String getAppId() {
return appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
public String getMchId() {
return mchId;
}
public void setMchId(String mchId) {
this.mchId = mchId;
}
public String getDeviceInfo() {
return deviceInfo;
}
public void setDeviceInfo(String deviceInfo) {
this.deviceInfo = deviceInfo;
}
public String getNonceStr() {
return nonceStr;
}
public void setNonceStr(String nonceStr) {
this.nonceStr = nonceStr;
}
public String getSign() {
return sign;
}
public void setSign(String sign) {
this.sign = sign;
}
public String getErrCode() {
return errCode;
}
public void setErrCode(String errCode) {
this.errCode = errCode;
}
public String getErrCodeDes() {
return errCodeDes;
}
public void setErrCodeDes(String errCodeDes) {
this.errCodeDes = errCodeDes;
}
public String getOpenId() {
return openId;
}
public void setOpenId(String openId) {
this.openId = openId;
}
public String getIsSubscribe() {
return isSubscribe;
}
public void setIsSubscribe(String isSubscribe) {
this.isSubscribe = isSubscribe;
}
public String getTradeType() {
return tradeType;
}
public void setTradeType(String tradeType) {
this.tradeType = tradeType;
}
public String getBankType() {
return bankType;
}
public void setBankType(String bankType) {
this.bankType = bankType;
}
public String getTotalFee() {
return totalFee;
}
public void setTotalFee(String totalFee) {
this.totalFee = totalFee;
}
public String getFeeType() {
return feeType;
}
public void setFeeType(String feeType) {
this.feeType = feeType;
}
public String getTransactionId() {
return transactionId;
}
public void setTransactionId(String transactionId) {
this.transactionId = transactionId;
}
public String getOutTradeNo() {
return outTradeNo;
}
public void setOutTradeNo(String outTradeNo) {
this.outTradeNo = outTradeNo;
}
public String getAttach() {
return attach;
}
public void setAttach(String attach) {
this.attach = attach;
}
public Date getTimeEnd() {
return timeEnd;
}
public void setTimeEnd(Date timeEnd) {
this.timeEnd = timeEnd;
}
}