File tree 1 file changed +27
-0
lines changed
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/request
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 19
19
@ AllArgsConstructor
20
20
@ XStreamAlias ("xml" )
21
21
public class WxPayMicropayRequest extends BaseWxPayRequest {
22
+ /**
23
+ * <pre>
24
+ * 字段名:设备号.
25
+ * 变量名:device_info
26
+ * 是否必填:否
27
+ * 类型:String(32)
28
+ * 示例值:013467007045764
29
+ * 描述:终端设备号(商户自定义,如门店编号)
30
+ * </pre>
31
+ */
32
+ @ XStreamAlias ("device_info" )
33
+ private String deviceInfo ;
34
+
22
35
/**
23
36
* <pre>
24
37
* 字段名:接口版本号.
@@ -180,6 +193,20 @@ public class WxPayMicropayRequest extends BaseWxPayRequest {
180
193
@ XStreamAlias ("time_expire" )
181
194
private String timeExpire ;
182
195
196
+ /**
197
+ * <pre>
198
+ * 字段名:电子发票入口开放标识 .
199
+ * 变量名:receipt
200
+ * 是否必填:否
201
+ * 类型:String(8)
202
+ * 示例值:Y
203
+ * 描述:Y,传入Y时,支付成功消息和支付详情页将出现开票入口。需要在微信支付商户平台或微信公众平台开通电子发票功能,传此字段才可生效
204
+ * </pre>
205
+ **/
206
+ @ Required
207
+ @ XStreamAlias ("receipt" )
208
+ private String receipt ;
209
+
183
210
/**
184
211
* <pre>
185
212
* 字段名:授权码.
You can’t perform that action at this time.
0 commit comments