com.zopen.wechat.pay.dto.companypay.CompanyPayResponse Maven / Gradle / Ivy
Show all versions of zopen-ato-starter Show documentation
package com.zopen.wechat.pay.dto.companypay;
import com.zopen.wechat.pay.dto.BaseResponse;
import javax.xml.bind.annotation.XmlRootElement;
/**
* “企业付款到零钱”接口的返回
*
* 错误代码:https://pay.weixin.qq.com/wiki/doc/api/tools/mch_pay.php?chapter=14_2
*
* @author [email protected]
* @since 2020/1/20
*/
@XmlRootElement(name = "xml")
public class CompanyPayResponse extends BaseResponse {
private static final long serialVersionUID = 1L;
// *商户appid
private String mch_appid;
// *商户号
private String mchid;
// 设备号
private String device_info;
// *随机字符串
private String nonce_str;
// *商户订单号
private String partner_trade_no;
// *微信付款单号
private String payment_no;
// *付款成功时间,例:2015-05-19 15:26:59
private String payment_time;
@Override
public String toString() {
return "CompanyPayResponse{" +
"mch_appid='" + mch_appid + '\'' +
", mchid='" + mchid + '\'' +
", device_info='" + device_info + '\'' +
", nonce_str='" + nonce_str + '\'' +
", partner_trade_no='" + partner_trade_no + '\'' +
", payment_no='" + payment_no + '\'' +
", payment_time='" + payment_time + '\'' +
"} " + super.toString();
}
public String getMch_appid() {
return mch_appid;
}
public void setMch_appid(String mch_appid) {
this.mch_appid = mch_appid;
}
public String getMchid() {
return mchid;
}
public void setMchid(String mchid) {
this.mchid = mchid;
}
public String getDevice_info() {
return device_info;
}
public void setDevice_info(String device_info) {
this.device_info = device_info;
}
public String getNonce_str() {
return nonce_str;
}
public void setNonce_str(String nonce_str) {
this.nonce_str = nonce_str;
}
public String getPartner_trade_no() {
return partner_trade_no;
}
public void setPartner_trade_no(String partner_trade_no) {
this.partner_trade_no = partner_trade_no;
}
public String getPayment_no() {
return payment_no;
}
public void setPayment_no(String payment_no) {
this.payment_no = payment_no;
}
public String getPayment_time() {
return payment_time;
}
public void setPayment_time(String payment_time) {
this.payment_time = payment_time;
}
}