mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-10-31 18:46:10 +08:00 
			
		
		
		
	#533 微信刷卡支付请求类增加缺少的三个参数
This commit is contained in:
		| @ -153,6 +153,33 @@ public class WxPayMicropayRequest extends BaseWxPayRequest { | |||||||
|   @XStreamAlias("limit_pay") |   @XStreamAlias("limit_pay") | ||||||
|   private String limitPay; |   private String limitPay; | ||||||
|  |  | ||||||
|  |   /** | ||||||
|  |    * <pre> | ||||||
|  |    * 字段名:交易起始时间. | ||||||
|  |    * 变量名:time_start | ||||||
|  |    * 是否必填:否 | ||||||
|  |    * 类型:String(14) | ||||||
|  |    * 示例值:20091225091010 | ||||||
|  |    * 描述:订单生成时间,格式为yyyyMMddHHmmss,如2009年12月25日9点10分10秒表示为20091225091010。其他详见时间规则 | ||||||
|  |    * </pre> | ||||||
|  |    */ | ||||||
|  |   @XStreamAlias("time_start") | ||||||
|  |   private String timeStart; | ||||||
|  |  | ||||||
|  |   /** | ||||||
|  |    * <pre> | ||||||
|  |    * 字段名:交易结束时间. | ||||||
|  |    * 变量名:time_expire | ||||||
|  |    * 是否必填:否 | ||||||
|  |    * 类型:String(14) | ||||||
|  |    * 示例值:20091227091010 | ||||||
|  |    * 描述:订单失效时间,格式为yyyyMMddHHmmss,如2009年12月27日9点10分10秒表示为20091227091010。其他详见时间规则 | ||||||
|  |    * 注意:最短失效时间间隔必须大于5分钟 | ||||||
|  |    * </pre> | ||||||
|  |    */ | ||||||
|  |   @XStreamAlias("time_expire") | ||||||
|  |   private String timeExpire; | ||||||
|  |  | ||||||
|   /** |   /** | ||||||
|    * <pre> |    * <pre> | ||||||
|    * 字段名:授权码. |    * 字段名:授权码. | ||||||
| @ -167,6 +194,23 @@ public class WxPayMicropayRequest extends BaseWxPayRequest { | |||||||
|   @XStreamAlias("auth_code") |   @XStreamAlias("auth_code") | ||||||
|   private String authCode; |   private String authCode; | ||||||
|  |  | ||||||
|  |   /** | ||||||
|  |    * <pre> | ||||||
|  |    * 字段名:场景信息. | ||||||
|  |    * 变量名:scene_info | ||||||
|  |    * 是否必填:否 | ||||||
|  |    * 类型:String(256) | ||||||
|  |    * 示例值:{"store_info" : { | ||||||
|  |    * "id": "SZTX001", | ||||||
|  |    * "name": "腾大餐厅", | ||||||
|  |    * "area_code": "440305", | ||||||
|  |    * "address": "科技园中一路腾讯大厦" }} | ||||||
|  |    * 描述:该字段用于上报场景信息,目前支持上报实际门店信息。该字段为JSON对象数据,对象格式为{"store_info":{"id": "门店ID","name": "名称","area_code": "编码","address": "地址" }} | ||||||
|  |    * </pre> | ||||||
|  |    */ | ||||||
|  |   @XStreamAlias("scene_info") | ||||||
|  |   private String sceneInfo; | ||||||
|  |  | ||||||
|   @Override |   @Override | ||||||
|   protected void checkConstraints() { |   protected void checkConstraints() { | ||||||
|     //do nothing |     //do nothing | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Binary Wang
					Binary Wang