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