Skip to content

Commit 08250aa

Browse files
committed
#521 微信支付回调通知类WxPayOrderNotifyResult增加version参数
1 parent 936b40c commit 08250aa

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/notify/WxPayOrderNotifyResult.java

+12
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,18 @@ public class WxPayOrderNotifyResult extends BaseWxPayResult {
271271
@XStreamAlias("time_end")
272272
private String timeEnd;
273273

274+
/**
275+
* <pre>
276+
* 字段名:接口版本号.
277+
* 变量名:version
278+
* 类型:String(32)
279+
* 示例值:1.0
280+
* 更多信息,详见文档:https://pay.weixin.qq.com/wiki/doc/api/danpin.php?chapter=9_101&index=1
281+
* </pre>
282+
*/
283+
@XStreamAlias("version")
284+
private String version;
285+
274286
public static WxPayOrderNotifyResult fromXML(String xmlString) {
275287
XStream xstream = XStreamInitializer.getInstance();
276288
xstream.processAnnotations(WxPayOrderNotifyResult.class);

0 commit comments

Comments
 (0)