Skip to content

Commit 0345d62

Browse files
committed
#1036 微信支付统一下单接口增加小程序支付所需的receipt电子发票入口开放标识字段
1 parent 03a88aa commit 0345d62

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,19 @@ public class WxPayUnifiedOrderRequest extends BaseWxPayRequest {
302302
@XStreamAlias("sub_openid")
303303
private String subOpenid;
304304

305+
/**
306+
* <pre>
307+
* 字段名:电子发票入口开放标识.
308+
* 变量名: receipt
309+
* 是否必填:否
310+
* 类型:String(8)
311+
* 示例值:Y
312+
* 描述: Y,传入Y时,支付成功消息和支付详情页将出现开票入口。需要在微信支付商户平台或微信公众平台开通电子发票功能,传此字段才可生效
313+
* </pre>
314+
*/
315+
@XStreamAlias("receipt")
316+
private String receipt;
317+
305318
/**
306319
* <pre>
307320
* 字段名:场景信息.

0 commit comments

Comments
 (0)