Skip to content

Commit

Permalink
#521 微信支付回调通知类WxPayOrderNotifyResult增加version参数
Browse files Browse the repository at this point in the history
  • Loading branch information
binarywang committed May 13, 2018
1 parent 936b40c commit 08250aa
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,18 @@ public class WxPayOrderNotifyResult extends BaseWxPayResult {
@XStreamAlias("time_end")
private String timeEnd;

/**
* <pre>
* 字段名:接口版本号.
* 变量名:version
* 类型:String(32)
* 示例值:1.0
* 更多信息,详见文档:https://pay.weixin.qq.com/wiki/doc/api/danpin.php?chapter=9_101&index=1
* </pre>
*/
@XStreamAlias("version")
private String version;

public static WxPayOrderNotifyResult fromXML(String xmlString) {
XStream xstream = XStreamInitializer.getInstance();
xstream.processAnnotations(WxPayOrderNotifyResult.class);
Expand Down

0 comments on commit 08250aa

Please sign in to comment.