Skip to content

Commit c844165

Browse files
committed
完善补充字段注释
1 parent e640b05 commit c844165

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/pay/result/WxPayUnifiedOrderResult.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,21 @@
1313
@XStreamAlias("xml")
1414
public class WxPayUnifiedOrderResult extends WxPayBaseResult {
1515

16+
/**
17+
* 微信生成的预支付回话标识,用于后续接口调用中使用,该值有效期为2小时
18+
*/
1619
@XStreamAlias("prepay_id")
1720
private String prepayId;
1821

22+
/**
23+
* 交易类型,取值为:JSAPI,NATIVE,APP等
24+
*/
1925
@XStreamAlias("trade_type")
2026
private String tradeType;
2127

28+
/**
29+
* trade_type为NATIVE时有返回,用于生成二维码,展示给用户进行扫码支付
30+
*/
2231
@XStreamAlias("code_url")
2332
private String codeURL;
2433

0 commit comments

Comments
 (0)