Skip to content

Commit 617f861

Browse files
committed
binarywang#533 微信刷卡支付请求类增加缺少的三个参数
1 parent a6ee082 commit 617f861

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/request/WxPayMicropayRequest.java

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,33 @@ public class WxPayMicropayRequest extends BaseWxPayRequest {
153153
@XStreamAlias("limit_pay")
154154
private String limitPay;
155155

156+
/**
157+
* <pre>
158+
* 字段名:交易起始时间.
159+
* 变量名:time_start
160+
* 是否必填:否
161+
* 类型:String(14)
162+
* 示例值:20091225091010
163+
* 描述:订单生成时间,格式为yyyyMMddHHmmss,如2009年12月25日9点10分10秒表示为20091225091010。其他详见时间规则
164+
* </pre>
165+
*/
166+
@XStreamAlias("time_start")
167+
private String timeStart;
168+
169+
/**
170+
* <pre>
171+
* 字段名:交易结束时间.
172+
* 变量名:time_expire
173+
* 是否必填:否
174+
* 类型:String(14)
175+
* 示例值:20091227091010
176+
* 描述:订单失效时间,格式为yyyyMMddHHmmss,如2009年12月27日9点10分10秒表示为20091227091010。其他详见时间规则
177+
* 注意:最短失效时间间隔必须大于5分钟
178+
* </pre>
179+
*/
180+
@XStreamAlias("time_expire")
181+
private String timeExpire;
182+
156183
/**
157184
* <pre>
158185
* 字段名:授权码.
@@ -167,6 +194,23 @@ public class WxPayMicropayRequest extends BaseWxPayRequest {
167194
@XStreamAlias("auth_code")
168195
private String authCode;
169196

197+
/**
198+
* <pre>
199+
* 字段名:场景信息.
200+
* 变量名:scene_info
201+
* 是否必填:否
202+
* 类型:String(256)
203+
* 示例值:{"store_info" : {
204+
* "id": "SZTX001",
205+
* "name": "腾大餐厅",
206+
* "area_code": "440305",
207+
* "address": "科技园中一路腾讯大厦" }}
208+
* 描述:该字段用于上报场景信息,目前支持上报实际门店信息。该字段为JSON对象数据,对象格式为{"store_info":{"id": "门店ID","name": "名称","area_code": "编码","address": "地址" }}
209+
* </pre>
210+
*/
211+
@XStreamAlias("scene_info")
212+
private String sceneInfo;
213+
170214
@Override
171215
protected void checkConstraints() {
172216
//do nothing

0 commit comments

Comments
 (0)