mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-10-31 02:28:25 +08:00 
			
		
		
		
	#521 微信支付回调通知类WxPayOrderNotifyResult增加version参数
This commit is contained in:
		| @ -271,6 +271,18 @@ public class WxPayOrderNotifyResult extends BaseWxPayResult { | |||||||
|   @XStreamAlias("time_end") |   @XStreamAlias("time_end") | ||||||
|   private String timeEnd; |   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) { |   public static WxPayOrderNotifyResult fromXML(String xmlString) { | ||||||
|     XStream xstream = XStreamInitializer.getInstance(); |     XStream xstream = XStreamInitializer.getInstance(); | ||||||
|     xstream.processAnnotations(WxPayOrderNotifyResult.class); |     xstream.processAnnotations(WxPayOrderNotifyResult.class); | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Binary Wang
					Binary Wang