| @@ -1,10 +1,12 @@ | |||||
| package me.chanjar.weixin.mp.bean.pay.request; | package me.chanjar.weixin.mp.bean.pay.request; | ||||
| import com.thoughtworks.xstream.annotations.XStreamAlias; | |||||
| import me.chanjar.weixin.common.annotation.Required; | |||||
| import org.apache.commons.lang3.builder.ToStringBuilder; | import org.apache.commons.lang3.builder.ToStringBuilder; | ||||
| import org.apache.commons.lang3.builder.ToStringStyle; | import org.apache.commons.lang3.builder.ToStringStyle; | ||||
| import com.thoughtworks.xstream.annotations.XStreamAlias; | |||||
| import me.chanjar.weixin.common.annotation.Required; | |||||
| /** | /** | ||||
| * <pre> | * <pre> | ||||
| * 企业付款请求对象 | * 企业付款请求对象 | ||||
| @@ -31,6 +33,7 @@ public class WxEntPayQueryRequest extends WxPayBaseRequest { | |||||
| * 微信支付分配的商户号 | * 微信支付分配的商户号 | ||||
| * </pre> | * </pre> | ||||
| */ | */ | ||||
| @SuppressWarnings("hiding") | |||||
| @XStreamAlias("mchid") | @XStreamAlias("mchid") | ||||
| private String mchId; | private String mchId; | ||||
| @@ -48,40 +51,18 @@ public class WxEntPayQueryRequest extends WxPayBaseRequest { | |||||
| @XStreamAlias("partner_trade_no") | @XStreamAlias("partner_trade_no") | ||||
| private String partnerTradeNo; | private String partnerTradeNo; | ||||
| public String getAppid() { | |||||
| return appid; | |||||
| } | |||||
| public void setAppid(String appid) { | |||||
| this.appid = appid; | |||||
| } | |||||
| @Override | |||||
| public String getMchId() { | public String getMchId() { | ||||
| return mchId; | |||||
| return this.mchId; | |||||
| } | } | ||||
| @Override | |||||
| public void setMchId(String mchId) { | public void setMchId(String mchId) { | ||||
| this.mchId = mchId; | this.mchId = mchId; | ||||
| } | } | ||||
| 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 getPartnerTradeNo() { | public String getPartnerTradeNo() { | ||||
| return partnerTradeNo; | |||||
| return this.partnerTradeNo; | |||||
| } | } | ||||
| public void setPartnerTradeNo(String partnerTradeNo) { | public void setPartnerTradeNo(String partnerTradeNo) { | ||||
| @@ -181,7 +181,7 @@ public class WxEntPayRequest { | |||||
| private String spbillCreateIp; | private String spbillCreateIp; | ||||
| public String getMchAppid() { | public String getMchAppid() { | ||||
| return mchAppid; | |||||
| return this.mchAppid; | |||||
| } | } | ||||
| public void setMchAppid(String mchAppid) { | public void setMchAppid(String mchAppid) { | ||||
| @@ -189,7 +189,7 @@ public class WxEntPayRequest { | |||||
| } | } | ||||
| public String getMchId() { | public String getMchId() { | ||||
| return mchId; | |||||
| return this.mchId; | |||||
| } | } | ||||
| public void setMchId(String mchId) { | public void setMchId(String mchId) { | ||||
| @@ -197,7 +197,7 @@ public class WxEntPayRequest { | |||||
| } | } | ||||
| public String getDeviceInfo() { | public String getDeviceInfo() { | ||||
| return deviceInfo; | |||||
| return this.deviceInfo; | |||||
| } | } | ||||
| public void setDeviceInfo(String deviceInfo) { | public void setDeviceInfo(String deviceInfo) { | ||||
| @@ -205,7 +205,7 @@ public class WxEntPayRequest { | |||||
| } | } | ||||
| public String getNonceStr() { | public String getNonceStr() { | ||||
| return nonceStr; | |||||
| return this.nonceStr; | |||||
| } | } | ||||
| public void setNonceStr(String nonceStr) { | public void setNonceStr(String nonceStr) { | ||||
| @@ -213,7 +213,7 @@ public class WxEntPayRequest { | |||||
| } | } | ||||
| public String getSign() { | public String getSign() { | ||||
| return sign; | |||||
| return this.sign; | |||||
| } | } | ||||
| public void setSign(String sign) { | public void setSign(String sign) { | ||||
| @@ -221,7 +221,7 @@ public class WxEntPayRequest { | |||||
| } | } | ||||
| public String getPartnerTradeNo() { | public String getPartnerTradeNo() { | ||||
| return partnerTradeNo; | |||||
| return this.partnerTradeNo; | |||||
| } | } | ||||
| public void setPartnerTradeNo(String partnerTradeNo) { | public void setPartnerTradeNo(String partnerTradeNo) { | ||||
| @@ -229,7 +229,7 @@ public class WxEntPayRequest { | |||||
| } | } | ||||
| public String getOpenid() { | public String getOpenid() { | ||||
| return openid; | |||||
| return this.openid; | |||||
| } | } | ||||
| public void setOpenid(String openid) { | public void setOpenid(String openid) { | ||||
| @@ -237,7 +237,7 @@ public class WxEntPayRequest { | |||||
| } | } | ||||
| public String getCheckName() { | public String getCheckName() { | ||||
| return checkName; | |||||
| return this.checkName; | |||||
| } | } | ||||
| public void setCheckName(String checkName) { | public void setCheckName(String checkName) { | ||||
| @@ -245,7 +245,7 @@ public class WxEntPayRequest { | |||||
| } | } | ||||
| public String getReUserName() { | public String getReUserName() { | ||||
| return reUserName; | |||||
| return this.reUserName; | |||||
| } | } | ||||
| public void setReUserName(String reUserName) { | public void setReUserName(String reUserName) { | ||||
| @@ -253,7 +253,7 @@ public class WxEntPayRequest { | |||||
| } | } | ||||
| public Integer getAmount() { | public Integer getAmount() { | ||||
| return amount; | |||||
| return this.amount; | |||||
| } | } | ||||
| public void setAmount(Integer amount) { | public void setAmount(Integer amount) { | ||||
| @@ -261,7 +261,7 @@ public class WxEntPayRequest { | |||||
| } | } | ||||
| public String getDescription() { | public String getDescription() { | ||||
| return description; | |||||
| return this.description; | |||||
| } | } | ||||
| public void setDescription(String description) { | public void setDescription(String description) { | ||||
| @@ -269,7 +269,7 @@ public class WxEntPayRequest { | |||||
| } | } | ||||
| public String getSpbillCreateIp() { | public String getSpbillCreateIp() { | ||||
| return spbillCreateIp; | |||||
| return this.spbillCreateIp; | |||||
| } | } | ||||
| public void setSpbillCreateIp(String spbillCreateIp) { | public void setSpbillCreateIp(String spbillCreateIp) { | ||||
| @@ -1,9 +1,10 @@ | |||||
| package me.chanjar.weixin.mp.bean.pay.request; | package me.chanjar.weixin.mp.bean.pay.request; | ||||
| import com.thoughtworks.xstream.annotations.XStreamAlias; | |||||
| import org.apache.commons.lang3.builder.ToStringBuilder; | import org.apache.commons.lang3.builder.ToStringBuilder; | ||||
| import org.apache.commons.lang3.builder.ToStringStyle; | import org.apache.commons.lang3.builder.ToStringStyle; | ||||
| import com.thoughtworks.xstream.annotations.XStreamAlias; | |||||
| /** | /** | ||||
| * <pre> | * <pre> | ||||
| * Created by Binary Wang on 2016-10-24. | * Created by Binary Wang on 2016-10-24. | ||||
| @@ -69,7 +70,7 @@ public abstract class WxPayBaseRequest { | |||||
| protected String sign; | protected String sign; | ||||
| public String getAppid() { | public String getAppid() { | ||||
| return appid; | |||||
| return this.appid; | |||||
| } | } | ||||
| public void setAppid(String appid) { | public void setAppid(String appid) { | ||||
| @@ -77,7 +78,7 @@ public abstract class WxPayBaseRequest { | |||||
| } | } | ||||
| public String getMchId() { | public String getMchId() { | ||||
| return mchId; | |||||
| return this.mchId; | |||||
| } | } | ||||
| public void setMchId(String mchId) { | public void setMchId(String mchId) { | ||||
| @@ -85,7 +86,7 @@ public abstract class WxPayBaseRequest { | |||||
| } | } | ||||
| public String getNonceStr() { | public String getNonceStr() { | ||||
| return nonceStr; | |||||
| return this.nonceStr; | |||||
| } | } | ||||
| public void setNonceStr(String nonceStr) { | public void setNonceStr(String nonceStr) { | ||||
| @@ -93,7 +94,7 @@ public abstract class WxPayBaseRequest { | |||||
| } | } | ||||
| public String getSign() { | public String getSign() { | ||||
| return sign; | |||||
| return this.sign; | |||||
| } | } | ||||
| public void setSign(String sign) { | public void setSign(String sign) { | ||||
| @@ -46,7 +46,7 @@ public class WxPayOrderQueryRequest extends WxPayBaseRequest { | |||||
| private String outTradeNo; | private String outTradeNo; | ||||
| public String getTransactionId() { | public String getTransactionId() { | ||||
| return transactionId; | |||||
| return this.transactionId; | |||||
| } | } | ||||
| public void setTransactionId(String transactionId) { | public void setTransactionId(String transactionId) { | ||||
| @@ -54,7 +54,7 @@ public class WxPayOrderQueryRequest extends WxPayBaseRequest { | |||||
| } | } | ||||
| public String getOutTradeNo() { | public String getOutTradeNo() { | ||||
| return outTradeNo; | |||||
| return this.outTradeNo; | |||||
| } | } | ||||
| public void setOutTradeNo(String outTradeNo) { | public void setOutTradeNo(String outTradeNo) { | ||||
| @@ -1,6 +1,7 @@ | |||||
| package me.chanjar.weixin.mp.bean.pay.request; | package me.chanjar.weixin.mp.bean.pay.request; | ||||
| import com.thoughtworks.xstream.annotations.XStreamAlias; | import com.thoughtworks.xstream.annotations.XStreamAlias; | ||||
| import me.chanjar.weixin.common.annotation.Required; | import me.chanjar.weixin.common.annotation.Required; | ||||
| /** | /** | ||||
| @@ -196,7 +197,7 @@ public class WxPayRefundRequest { | |||||
| private String refundAccount; | private String refundAccount; | ||||
| public String getAppid() { | public String getAppid() { | ||||
| return appid; | |||||
| return this.appid; | |||||
| } | } | ||||
| public void setAppid(String appid) { | public void setAppid(String appid) { | ||||
| @@ -204,7 +205,7 @@ public class WxPayRefundRequest { | |||||
| } | } | ||||
| public String getMchId() { | public String getMchId() { | ||||
| return mchId; | |||||
| return this.mchId; | |||||
| } | } | ||||
| public void setMchId(String mchId) { | public void setMchId(String mchId) { | ||||
| @@ -212,7 +213,7 @@ public class WxPayRefundRequest { | |||||
| } | } | ||||
| public String getDeviceInfo() { | public String getDeviceInfo() { | ||||
| return deviceInfo; | |||||
| return this.deviceInfo; | |||||
| } | } | ||||
| public void setDeviceInfo(String deviceInfo) { | public void setDeviceInfo(String deviceInfo) { | ||||
| @@ -220,7 +221,7 @@ public class WxPayRefundRequest { | |||||
| } | } | ||||
| public String getNonceStr() { | public String getNonceStr() { | ||||
| return nonceStr; | |||||
| return this.nonceStr; | |||||
| } | } | ||||
| public void setNonceStr(String nonceStr) { | public void setNonceStr(String nonceStr) { | ||||
| @@ -228,7 +229,7 @@ public class WxPayRefundRequest { | |||||
| } | } | ||||
| public String getSign() { | public String getSign() { | ||||
| return sign; | |||||
| return this.sign; | |||||
| } | } | ||||
| public void setSign(String sign) { | public void setSign(String sign) { | ||||
| @@ -236,7 +237,7 @@ public class WxPayRefundRequest { | |||||
| } | } | ||||
| public String getTransactionId() { | public String getTransactionId() { | ||||
| return transactionId; | |||||
| return this.transactionId; | |||||
| } | } | ||||
| public void setTransactionId(String transactionId) { | public void setTransactionId(String transactionId) { | ||||
| @@ -244,7 +245,7 @@ public class WxPayRefundRequest { | |||||
| } | } | ||||
| public String getOutTradeNo() { | public String getOutTradeNo() { | ||||
| return outTradeNo; | |||||
| return this.outTradeNo; | |||||
| } | } | ||||
| public void setOutTradeNo(String outTradeNo) { | public void setOutTradeNo(String outTradeNo) { | ||||
| @@ -252,7 +253,7 @@ public class WxPayRefundRequest { | |||||
| } | } | ||||
| public String getOutRefundNo() { | public String getOutRefundNo() { | ||||
| return outRefundNo; | |||||
| return this.outRefundNo; | |||||
| } | } | ||||
| public void setOutRefundNo(String outRefundNo) { | public void setOutRefundNo(String outRefundNo) { | ||||
| @@ -260,7 +261,7 @@ public class WxPayRefundRequest { | |||||
| } | } | ||||
| public Integer getTotalFee() { | public Integer getTotalFee() { | ||||
| return totalFee; | |||||
| return this.totalFee; | |||||
| } | } | ||||
| public void setTotalFee(Integer totalFee) { | public void setTotalFee(Integer totalFee) { | ||||
| @@ -268,7 +269,7 @@ public class WxPayRefundRequest { | |||||
| } | } | ||||
| public Integer getRefundFee() { | public Integer getRefundFee() { | ||||
| return refundFee; | |||||
| return this.refundFee; | |||||
| } | } | ||||
| public void setRefundFee(Integer refundFee) { | public void setRefundFee(Integer refundFee) { | ||||
| @@ -276,7 +277,7 @@ public class WxPayRefundRequest { | |||||
| } | } | ||||
| public String getRefundFeeType() { | public String getRefundFeeType() { | ||||
| return refundFeeType; | |||||
| return this.refundFeeType; | |||||
| } | } | ||||
| public void setRefundFeeType(String refundFeeType) { | public void setRefundFeeType(String refundFeeType) { | ||||
| @@ -284,7 +285,7 @@ public class WxPayRefundRequest { | |||||
| } | } | ||||
| public String getOpUserId() { | public String getOpUserId() { | ||||
| return opUserId; | |||||
| return this.opUserId; | |||||
| } | } | ||||
| public void setOpUserId(String opUserId) { | public void setOpUserId(String opUserId) { | ||||
| @@ -292,7 +293,7 @@ public class WxPayRefundRequest { | |||||
| } | } | ||||
| public String getRefundAccount() { | public String getRefundAccount() { | ||||
| return refundAccount; | |||||
| return this.refundAccount; | |||||
| } | } | ||||
| public void setRefundAccount(String refundAccount) { | public void setRefundAccount(String refundAccount) { | ||||
| @@ -1,6 +1,7 @@ | |||||
| package me.chanjar.weixin.mp.bean.pay.request; | package me.chanjar.weixin.mp.bean.pay.request; | ||||
| import com.thoughtworks.xstream.annotations.XStreamAlias; | import com.thoughtworks.xstream.annotations.XStreamAlias; | ||||
| import me.chanjar.weixin.common.annotation.Required; | import me.chanjar.weixin.common.annotation.Required; | ||||
| /** | /** | ||||
| @@ -266,21 +267,6 @@ public class WxPayUnifiedOrderRequest extends WxPayBaseRequest { | |||||
| @XStreamAlias("openid") | @XStreamAlias("openid") | ||||
| private String openid; | private String openid; | ||||
| public String getAppid() { | |||||
| return this.appid; | |||||
| } | |||||
| public void setAppid(String appid) { | |||||
| this.appid = appid; | |||||
| } | |||||
| public String getMchId() { | |||||
| return this.mchId; | |||||
| } | |||||
| public void setMchId(String mchId) { | |||||
| this.mchId = mchId; | |||||
| } | |||||
| public String getDeviceInfo() { | public String getDeviceInfo() { | ||||
| return this.deviceInfo; | return this.deviceInfo; | ||||
| @@ -290,22 +276,6 @@ public class WxPayUnifiedOrderRequest extends WxPayBaseRequest { | |||||
| this.deviceInfo = deviceInfo; | this.deviceInfo = deviceInfo; | ||||
| } | } | ||||
| public String getNonceStr() { | |||||
| return this.nonceStr; | |||||
| } | |||||
| public void setNonceStr(String nonceStr) { | |||||
| this.nonceStr = nonceStr; | |||||
| } | |||||
| public String getSign() { | |||||
| return this.sign; | |||||
| } | |||||
| public void setSign(String sign) { | |||||
| this.sign = sign; | |||||
| } | |||||
| public String getBody() { | public String getBody() { | ||||
| return this.body; | return this.body; | ||||
| } | } | ||||
| @@ -66,7 +66,7 @@ public class WxEntPayQueryResult extends WxPayBaseResult { | |||||
| private String desc; | private String desc; | ||||
| public String getReturnCode() { | public String getReturnCode() { | ||||
| return returnCode; | |||||
| return this.returnCode; | |||||
| } | } | ||||
| public void setReturnCode(String returnCode) { | public void setReturnCode(String returnCode) { | ||||
| @@ -74,7 +74,7 @@ public class WxEntPayQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getReturnMsg() { | public String getReturnMsg() { | ||||
| return returnMsg; | |||||
| return this.returnMsg; | |||||
| } | } | ||||
| public void setReturnMsg(String returnMsg) { | public void setReturnMsg(String returnMsg) { | ||||
| @@ -82,7 +82,7 @@ public class WxEntPayQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getPartnerTradeNo() { | public String getPartnerTradeNo() { | ||||
| return partnerTradeNo; | |||||
| return this.partnerTradeNo; | |||||
| } | } | ||||
| public void setPartnerTradeNo(String partnerTradeNo) { | public void setPartnerTradeNo(String partnerTradeNo) { | ||||
| @@ -90,7 +90,7 @@ public class WxEntPayQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getDetailId() { | public String getDetailId() { | ||||
| return detailId; | |||||
| return this.detailId; | |||||
| } | } | ||||
| public void setDetailId(String detailId) { | public void setDetailId(String detailId) { | ||||
| @@ -98,7 +98,7 @@ public class WxEntPayQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getStatus() { | public String getStatus() { | ||||
| return status; | |||||
| return this.status; | |||||
| } | } | ||||
| public void setStatus(String status) { | public void setStatus(String status) { | ||||
| @@ -106,7 +106,7 @@ public class WxEntPayQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getReason() { | public String getReason() { | ||||
| return reason; | |||||
| return this.reason; | |||||
| } | } | ||||
| public void setReason(String reason) { | public void setReason(String reason) { | ||||
| @@ -114,7 +114,7 @@ public class WxEntPayQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getOpenid() { | public String getOpenid() { | ||||
| return openid; | |||||
| return this.openid; | |||||
| } | } | ||||
| public void setOpenid(String openid) { | public void setOpenid(String openid) { | ||||
| @@ -122,7 +122,7 @@ public class WxEntPayQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getTransferName() { | public String getTransferName() { | ||||
| return transferName; | |||||
| return this.transferName; | |||||
| } | } | ||||
| public void setTransferName(String transferName) { | public void setTransferName(String transferName) { | ||||
| @@ -130,7 +130,7 @@ public class WxEntPayQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public Integer getPaymentAmount() { | public Integer getPaymentAmount() { | ||||
| return paymentAmount; | |||||
| return this.paymentAmount; | |||||
| } | } | ||||
| public void setPaymentAmount(Integer paymentAmount) { | public void setPaymentAmount(Integer paymentAmount) { | ||||
| @@ -138,7 +138,7 @@ public class WxEntPayQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getTransferTime() { | public String getTransferTime() { | ||||
| return transferTime; | |||||
| return this.transferTime; | |||||
| } | } | ||||
| public void setTransferTime(String transferTime) { | public void setTransferTime(String transferTime) { | ||||
| @@ -146,7 +146,7 @@ public class WxEntPayQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getDesc() { | public String getDesc() { | ||||
| return desc; | |||||
| return this.desc; | |||||
| } | } | ||||
| public void setDesc(String desc) { | public void setDesc(String desc) { | ||||
| @@ -42,7 +42,7 @@ public class WxEntPayResult extends WxPayBaseResult { | |||||
| private String paymentTime; | private String paymentTime; | ||||
| public String getMchAppid() { | public String getMchAppid() { | ||||
| return mchAppid; | |||||
| return this.mchAppid; | |||||
| } | } | ||||
| public void setMchAppid(String mchAppid) { | public void setMchAppid(String mchAppid) { | ||||
| @@ -50,7 +50,7 @@ public class WxEntPayResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getDeviceInfo() { | public String getDeviceInfo() { | ||||
| return deviceInfo; | |||||
| return this.deviceInfo; | |||||
| } | } | ||||
| public void setDeviceInfo(String deviceInfo) { | public void setDeviceInfo(String deviceInfo) { | ||||
| @@ -58,7 +58,7 @@ public class WxEntPayResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getPartnerTradeNo() { | public String getPartnerTradeNo() { | ||||
| return partnerTradeNo; | |||||
| return this.partnerTradeNo; | |||||
| } | } | ||||
| public void setPartnerTradeNo(String partnerTradeNo) { | public void setPartnerTradeNo(String partnerTradeNo) { | ||||
| @@ -66,7 +66,7 @@ public class WxEntPayResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getPaymentNo() { | public String getPaymentNo() { | ||||
| return paymentNo; | |||||
| return this.paymentNo; | |||||
| } | } | ||||
| public void setPaymentNo(String paymentNo) { | public void setPaymentNo(String paymentNo) { | ||||
| @@ -74,7 +74,7 @@ public class WxEntPayResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getPaymentTime() { | public String getPaymentTime() { | ||||
| return paymentTime; | |||||
| return this.paymentTime; | |||||
| } | } | ||||
| public void setPaymentTime(String paymentTime) { | public void setPaymentTime(String paymentTime) { | ||||
| @@ -1,9 +1,10 @@ | |||||
| package me.chanjar.weixin.mp.bean.pay.result; | package me.chanjar.weixin.mp.bean.pay.result; | ||||
| import com.thoughtworks.xstream.annotations.XStreamAlias; | |||||
| import org.apache.commons.lang3.builder.ToStringBuilder; | import org.apache.commons.lang3.builder.ToStringBuilder; | ||||
| import org.apache.commons.lang3.builder.ToStringStyle; | import org.apache.commons.lang3.builder.ToStringStyle; | ||||
| import com.thoughtworks.xstream.annotations.XStreamAlias; | |||||
| /** | /** | ||||
| * <pre> | * <pre> | ||||
| * 微信支付结果共用属性类 | * 微信支付结果共用属性类 | ||||
| @@ -72,7 +73,7 @@ public abstract class WxPayBaseResult { | |||||
| private String sign; | private String sign; | ||||
| public String getReturnCode() { | public String getReturnCode() { | ||||
| return returnCode; | |||||
| return this.returnCode; | |||||
| } | } | ||||
| public void setReturnCode(String returnCode) { | public void setReturnCode(String returnCode) { | ||||
| @@ -80,7 +81,7 @@ public abstract class WxPayBaseResult { | |||||
| } | } | ||||
| public String getReturnMsg() { | public String getReturnMsg() { | ||||
| return returnMsg; | |||||
| return this.returnMsg; | |||||
| } | } | ||||
| public void setReturnMsg(String returnMsg) { | public void setReturnMsg(String returnMsg) { | ||||
| @@ -88,7 +89,7 @@ public abstract class WxPayBaseResult { | |||||
| } | } | ||||
| public String getResultCode() { | public String getResultCode() { | ||||
| return resultCode; | |||||
| return this.resultCode; | |||||
| } | } | ||||
| public void setResultCode(String resultCode) { | public void setResultCode(String resultCode) { | ||||
| @@ -96,7 +97,7 @@ public abstract class WxPayBaseResult { | |||||
| } | } | ||||
| public String getErrCode() { | public String getErrCode() { | ||||
| return errCode; | |||||
| return this.errCode; | |||||
| } | } | ||||
| public void setErrCode(String errCode) { | public void setErrCode(String errCode) { | ||||
| @@ -104,7 +105,7 @@ public abstract class WxPayBaseResult { | |||||
| } | } | ||||
| public String getErrCodeDes() { | public String getErrCodeDes() { | ||||
| return errCodeDes; | |||||
| return this.errCodeDes; | |||||
| } | } | ||||
| public void setErrCodeDes(String errCodeDes) { | public void setErrCodeDes(String errCodeDes) { | ||||
| @@ -112,7 +113,7 @@ public abstract class WxPayBaseResult { | |||||
| } | } | ||||
| public String getAppid() { | public String getAppid() { | ||||
| return appid; | |||||
| return this.appid; | |||||
| } | } | ||||
| public void setAppid(String appid) { | public void setAppid(String appid) { | ||||
| @@ -120,7 +121,7 @@ public abstract class WxPayBaseResult { | |||||
| } | } | ||||
| public String getMchId() { | public String getMchId() { | ||||
| return mchId; | |||||
| return this.mchId; | |||||
| } | } | ||||
| public void setMchId(String mchId) { | public void setMchId(String mchId) { | ||||
| @@ -128,7 +129,7 @@ public abstract class WxPayBaseResult { | |||||
| } | } | ||||
| public String getNonceStr() { | public String getNonceStr() { | ||||
| return nonceStr; | |||||
| return this.nonceStr; | |||||
| } | } | ||||
| public void setNonceStr(String nonceStr) { | public void setNonceStr(String nonceStr) { | ||||
| @@ -136,7 +137,7 @@ public abstract class WxPayBaseResult { | |||||
| } | } | ||||
| public String getSign() { | public String getSign() { | ||||
| return sign; | |||||
| return this.sign; | |||||
| } | } | ||||
| public void setSign(String sign) { | public void setSign(String sign) { | ||||
| @@ -1,10 +1,10 @@ | |||||
| package me.chanjar.weixin.mp.bean.pay.result; | package me.chanjar.weixin.mp.bean.pay.result; | ||||
| import java.util.List; | |||||
| import com.google.common.collect.Lists; | import com.google.common.collect.Lists; | ||||
| import com.thoughtworks.xstream.annotations.XStreamAlias; | import com.thoughtworks.xstream.annotations.XStreamAlias; | ||||
| import java.util.List; | |||||
| /** | /** | ||||
| * <pre> | * <pre> | ||||
| * 查询订单 返回结果对象 | * 查询订单 返回结果对象 | ||||
| @@ -221,6 +221,31 @@ public class WxPayOrderQueryResult extends WxPayBaseResult { | |||||
| this.couponId = couponId; | this.couponId = couponId; | ||||
| this.couponFee = couponFee; | this.couponFee = couponFee; | ||||
| } | } | ||||
| public String getCouponType() { | |||||
| return this.couponType; | |||||
| } | |||||
| public void setCouponType(String couponType) { | |||||
| this.couponType = couponType; | |||||
| } | |||||
| public String getCouponId() { | |||||
| return this.couponId; | |||||
| } | |||||
| public void setCouponId(String couponId) { | |||||
| this.couponId = couponId; | |||||
| } | |||||
| public Integer getCouponFee() { | |||||
| return this.couponFee; | |||||
| } | |||||
| public void setCouponFee(Integer couponFee) { | |||||
| this.couponFee = couponFee; | |||||
| } | |||||
| } | } | ||||
| /** | /** | ||||
| @@ -284,7 +309,7 @@ public class WxPayOrderQueryResult extends WxPayBaseResult { | |||||
| private String tradeStateDesc; | private String tradeStateDesc; | ||||
| public String getDeviceInfo() { | public String getDeviceInfo() { | ||||
| return deviceInfo; | |||||
| return this.deviceInfo; | |||||
| } | } | ||||
| public void setDeviceInfo(String deviceInfo) { | public void setDeviceInfo(String deviceInfo) { | ||||
| @@ -292,7 +317,7 @@ public class WxPayOrderQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getOpenid() { | public String getOpenid() { | ||||
| return openid; | |||||
| return this.openid; | |||||
| } | } | ||||
| public void setOpenid(String openid) { | public void setOpenid(String openid) { | ||||
| @@ -300,7 +325,7 @@ public class WxPayOrderQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getIsSubscribe() { | public String getIsSubscribe() { | ||||
| return isSubscribe; | |||||
| return this.isSubscribe; | |||||
| } | } | ||||
| public void setIsSubscribe(String isSubscribe) { | public void setIsSubscribe(String isSubscribe) { | ||||
| @@ -308,7 +333,7 @@ public class WxPayOrderQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getTradeType() { | public String getTradeType() { | ||||
| return tradeType; | |||||
| return this.tradeType; | |||||
| } | } | ||||
| public void setTradeType(String tradeType) { | public void setTradeType(String tradeType) { | ||||
| @@ -316,7 +341,7 @@ public class WxPayOrderQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getTradeState() { | public String getTradeState() { | ||||
| return tradeState; | |||||
| return this.tradeState; | |||||
| } | } | ||||
| public void setTradeState(String tradeState) { | public void setTradeState(String tradeState) { | ||||
| @@ -324,7 +349,7 @@ public class WxPayOrderQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getBankType() { | public String getBankType() { | ||||
| return bankType; | |||||
| return this.bankType; | |||||
| } | } | ||||
| public void setBankType(String bankType) { | public void setBankType(String bankType) { | ||||
| @@ -332,7 +357,7 @@ public class WxPayOrderQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public Integer getTotalFee() { | public Integer getTotalFee() { | ||||
| return totalFee; | |||||
| return this.totalFee; | |||||
| } | } | ||||
| public void setTotalFee(Integer totalFee) { | public void setTotalFee(Integer totalFee) { | ||||
| @@ -340,7 +365,7 @@ public class WxPayOrderQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public Integer getSettlementTotalFee() { | public Integer getSettlementTotalFee() { | ||||
| return settlementTotalFee; | |||||
| return this.settlementTotalFee; | |||||
| } | } | ||||
| public void setSettlementTotalFee(Integer settlementTotalFee) { | public void setSettlementTotalFee(Integer settlementTotalFee) { | ||||
| @@ -348,7 +373,7 @@ public class WxPayOrderQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getFeeType() { | public String getFeeType() { | ||||
| return feeType; | |||||
| return this.feeType; | |||||
| } | } | ||||
| public void setFeeType(String feeType) { | public void setFeeType(String feeType) { | ||||
| @@ -356,7 +381,7 @@ public class WxPayOrderQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public Integer getCashFee() { | public Integer getCashFee() { | ||||
| return cashFee; | |||||
| return this.cashFee; | |||||
| } | } | ||||
| public void setCashFee(Integer cashFee) { | public void setCashFee(Integer cashFee) { | ||||
| @@ -364,7 +389,7 @@ public class WxPayOrderQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getCashFeeType() { | public String getCashFeeType() { | ||||
| return cashFeeType; | |||||
| return this.cashFeeType; | |||||
| } | } | ||||
| public void setCashFeeType(String cashFeeType) { | public void setCashFeeType(String cashFeeType) { | ||||
| @@ -372,7 +397,7 @@ public class WxPayOrderQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public Integer getCouponFee() { | public Integer getCouponFee() { | ||||
| return couponFee; | |||||
| return this.couponFee; | |||||
| } | } | ||||
| public void setCouponFee(Integer couponFee) { | public void setCouponFee(Integer couponFee) { | ||||
| @@ -380,7 +405,7 @@ public class WxPayOrderQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public Integer getCouponCount() { | public Integer getCouponCount() { | ||||
| return couponCount; | |||||
| return this.couponCount; | |||||
| } | } | ||||
| public void setCouponCount(Integer couponCount) { | public void setCouponCount(Integer couponCount) { | ||||
| @@ -388,7 +413,7 @@ public class WxPayOrderQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public List<Coupon> getCoupons() { | public List<Coupon> getCoupons() { | ||||
| return coupons; | |||||
| return this.coupons; | |||||
| } | } | ||||
| public void setCoupons(List<Coupon> coupons) { | public void setCoupons(List<Coupon> coupons) { | ||||
| @@ -396,7 +421,7 @@ public class WxPayOrderQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getTransactionId() { | public String getTransactionId() { | ||||
| return transactionId; | |||||
| return this.transactionId; | |||||
| } | } | ||||
| public void setTransactionId(String transactionId) { | public void setTransactionId(String transactionId) { | ||||
| @@ -404,7 +429,7 @@ public class WxPayOrderQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getOutTradeNo() { | public String getOutTradeNo() { | ||||
| return outTradeNo; | |||||
| return this.outTradeNo; | |||||
| } | } | ||||
| public void setOutTradeNo(String outTradeNo) { | public void setOutTradeNo(String outTradeNo) { | ||||
| @@ -412,7 +437,7 @@ public class WxPayOrderQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getAttach() { | public String getAttach() { | ||||
| return attach; | |||||
| return this.attach; | |||||
| } | } | ||||
| public void setAttach(String attach) { | public void setAttach(String attach) { | ||||
| @@ -420,7 +445,7 @@ public class WxPayOrderQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getTimeEnd() { | public String getTimeEnd() { | ||||
| return timeEnd; | |||||
| return this.timeEnd; | |||||
| } | } | ||||
| public void setTimeEnd(String timeEnd) { | public void setTimeEnd(String timeEnd) { | ||||
| @@ -428,7 +453,7 @@ public class WxPayOrderQueryResult extends WxPayBaseResult { | |||||
| } | } | ||||
| public String getTradeStateDesc() { | public String getTradeStateDesc() { | ||||
| return tradeStateDesc; | |||||
| return this.tradeStateDesc; | |||||
| } | } | ||||
| public void setTradeStateDesc(String tradeStateDesc) { | public void setTradeStateDesc(String tradeStateDesc) { | ||||
| @@ -1,9 +1,9 @@ | |||||
| package me.chanjar.weixin.mp.bean.pay.result; | package me.chanjar.weixin.mp.bean.pay.result; | ||||
| import com.thoughtworks.xstream.annotations.XStreamAlias; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import com.thoughtworks.xstream.annotations.XStreamAlias; | |||||
| /** | /** | ||||
| * <pre> | * <pre> | ||||
| * 微信支付-申请退款返回结果 | * 微信支付-申请退款返回结果 | ||||
| @@ -58,22 +58,6 @@ public class WxPayRefundResult extends WxPayBaseResult implements Serializable{ | |||||
| @XStreamAlias("coupon_refund_id") | @XStreamAlias("coupon_refund_id") | ||||
| private String couponRefundId; | private String couponRefundId; | ||||
| public String getReturnCode() { | |||||
| return this.returnCode; | |||||
| } | |||||
| public void setReturnCode(String returnCode) { | |||||
| this.returnCode = returnCode; | |||||
| } | |||||
| public String getReturnMsg() { | |||||
| return this.returnMsg; | |||||
| } | |||||
| public void setReturnMsg(String returnMsg) { | |||||
| this.returnMsg = returnMsg; | |||||
| } | |||||
| public String getDeviceInfo() { | public String getDeviceInfo() { | ||||
| return this.deviceInfo; | return this.deviceInfo; | ||||
| } | } | ||||
| @@ -1,9 +1,9 @@ | |||||
| package me.chanjar.weixin.mp.bean.pay.result; | package me.chanjar.weixin.mp.bean.pay.result; | ||||
| import com.thoughtworks.xstream.annotations.XStreamAlias; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import com.thoughtworks.xstream.annotations.XStreamAlias; | |||||
| /** | /** | ||||
| * 向微信用户个人发现金红包返回结果 | * 向微信用户个人发现金红包返回结果 | ||||
| * https://pay.weixin.qq.com/wiki/doc/api/cash_coupon.php?chapter=13_5 | * https://pay.weixin.qq.com/wiki/doc/api/cash_coupon.php?chapter=13_5 | ||||
| @@ -33,7 +33,7 @@ public class WxPaySendRedpackResult extends WxPayBaseResult implements Serializa | |||||
| private String sendListid; | private String sendListid; | ||||
| public String getMchBillno() { | public String getMchBillno() { | ||||
| return mchBillno; | |||||
| return this.mchBillno; | |||||
| } | } | ||||
| public void setMchBillno(String mchBillno) { | public void setMchBillno(String mchBillno) { | ||||
| @@ -41,7 +41,7 @@ public class WxPaySendRedpackResult extends WxPayBaseResult implements Serializa | |||||
| } | } | ||||
| public String getWxappid() { | public String getWxappid() { | ||||
| return wxappid; | |||||
| return this.wxappid; | |||||
| } | } | ||||
| public void setWxappid(String wxappid) { | public void setWxappid(String wxappid) { | ||||
| @@ -49,7 +49,7 @@ public class WxPaySendRedpackResult extends WxPayBaseResult implements Serializa | |||||
| } | } | ||||
| public String getReOpenid() { | public String getReOpenid() { | ||||
| return reOpenid; | |||||
| return this.reOpenid; | |||||
| } | } | ||||
| public void setReOpenid(String reOpenid) { | public void setReOpenid(String reOpenid) { | ||||
| @@ -57,7 +57,7 @@ public class WxPaySendRedpackResult extends WxPayBaseResult implements Serializa | |||||
| } | } | ||||
| public int getTotalAmount() { | public int getTotalAmount() { | ||||
| return totalAmount; | |||||
| return this.totalAmount; | |||||
| } | } | ||||
| public void setTotalAmount(int totalAmount) { | public void setTotalAmount(int totalAmount) { | ||||
| @@ -65,7 +65,7 @@ public class WxPaySendRedpackResult extends WxPayBaseResult implements Serializa | |||||
| } | } | ||||
| public String getSendTime() { | public String getSendTime() { | ||||
| return sendTime; | |||||
| return this.sendTime; | |||||
| } | } | ||||
| public void setSendTime(String sendTime) { | public void setSendTime(String sendTime) { | ||||
| @@ -73,7 +73,7 @@ public class WxPaySendRedpackResult extends WxPayBaseResult implements Serializa | |||||
| } | } | ||||
| public String getSendListid() { | public String getSendListid() { | ||||
| return sendListid; | |||||
| return this.sendListid; | |||||
| } | } | ||||
| public void setSendListid(String sendListid) { | public void setSendListid(String sendListid) { | ||||