mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-08-23 22:11:40 +08:00
重构微信支付申请退款接口 for issue #25
This commit is contained in:
parent
049eb957d8
commit
d933ab43e0
@ -1,18 +1,21 @@
|
|||||||
package me.chanjar.weixin.mp.bean.pay;
|
package me.chanjar.weixin.mp.bean.pay;
|
||||||
|
|
||||||
|
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* <pre>
|
||||||
* 微信支付-申请退款返回结果
|
* 微信支付-申请退款返回结果
|
||||||
* https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_4
|
* https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=9_4
|
||||||
|
* </pre>
|
||||||
* @author liukaitj
|
* @author liukaitj
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@XStreamAlias("xml")
|
@XStreamAlias("xml")
|
||||||
public class WxMpPayRefundResult implements Serializable {
|
public class WxMpPayRefundResult implements Serializable {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@XStreamAlias("return_code")
|
@XStreamAlias("return_code")
|
||||||
@ -73,7 +76,7 @@ public class WxMpPayRefundResult implements Serializable {
|
|||||||
private String cashFee;
|
private String cashFee;
|
||||||
|
|
||||||
@XStreamAlias("cash_refund_fee")
|
@XStreamAlias("cash_refund_fee")
|
||||||
private String cashRefundfee;
|
private String cashRefundFee;
|
||||||
|
|
||||||
@XStreamAlias("coupon_refund_fee")
|
@XStreamAlias("coupon_refund_fee")
|
||||||
private String couponRefundFee;
|
private String couponRefundFee;
|
||||||
@ -236,12 +239,12 @@ public class WxMpPayRefundResult implements Serializable {
|
|||||||
this.cashFee = cashFee;
|
this.cashFee = cashFee;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getCashRefundfee() {
|
public String getCashRefundFee() {
|
||||||
return this.cashRefundfee;
|
return this.cashRefundFee;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setCashRefundfee(String cashRefundfee) {
|
public void setCashRefundFee(String cashRefundFee) {
|
||||||
this.cashRefundfee = cashRefundfee;
|
this.cashRefundFee = cashRefundFee;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getCouponRefundFee() {
|
public String getCouponRefundFee() {
|
||||||
@ -270,9 +273,7 @@ public class WxMpPayRefundResult implements Serializable {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "[" +
|
return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
|
||||||
"return_code:" + this.returnCode + ";" +
|
|
||||||
"return_msg" + this.returnMsg + ";";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user