Skip to content

Commit 07c4615

Browse files
NotePlusbinarywang
authored andcommitted
🐛 【微信支付】修复特约商户进件-提交申请单接口证件持有人类型类型定义错误和证件居住地址参数名错误的问题
1 parent 99a55e6 commit 07c4615

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/applyment/WxPayApplyment4SubCreateRequest.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,13 @@ public static class IdentityInfo implements Serializable {
416416

417417
/**
418418
* 证件持有人类型
419+
* LEGAL:法人
420+
* SUPER:经办人
421+
* 示例值:LEGAL
422+
* @see com.github.binarywang.wxpay.bean.ecommerce.ApplymentsRequest 字段idHolderType
419423
*/
420424
@SerializedName("id_holder_type")
421-
private IdTypeEnum idHolderType;
425+
private String idHolderType;
422426

423427
/**
424428
* 证件类型
@@ -532,11 +536,11 @@ public static class IdDocInfo implements Serializable {
532536
@SpecEncrypt
533537
private String idDocNumber;
534538
/**
535-
* 身份证居住地址
539+
* 证件居住地址
536540
*/
537-
@SerializedName("id_card_address")
541+
@SerializedName("id_doc_address")
538542
@SpecEncrypt
539-
private String idCardAddress;
543+
private String idDocAddress;
540544
/**
541545
* 证件有效期开始时间
542546
*/

0 commit comments

Comments
 (0)