diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Product/Register/ProductRegisterSubmitMerchantInfoRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Product/Register/ProductRegisterSubmitMerchantInfoRequest.cs
index 398d202d..44137df9 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Product/Register/ProductRegisterSubmitMerchantInfoRequest.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Product/Register/ProductRegisterSubmitMerchantInfoRequest.cs
@@ -1,4 +1,4 @@
-using System.Collections.Generic;
+using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
@@ -126,7 +126,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
public PictureFile IdCardFrontPictureFile { get; set; } = new PictureFile();
///
- /// 获取或设置身份证人像面照片信息。
+ /// 获取或设置身份证国徽面照片信息。
///
[Newtonsoft.Json.JsonProperty("nation_pic_file")]
[System.Text.Json.Serialization.JsonPropertyName("nation_pic_file")]
@@ -146,6 +146,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[System.Text.Json.Serialization.JsonPropertyName("id_card_number")]
public string IdCardNumber { get; set; } = string.Empty;
+ ///
+ /// 获取或设置身份证居住地址。
+ ///
+ [Newtonsoft.Json.JsonProperty("address")]
+ [System.Text.Json.Serialization.JsonPropertyName("address")]
+ public string? IdCardAddress { get; set; }
+
///
/// 获取或设置身份证有效期开始时间(格式:yyyy-MM-dd)。
///
@@ -197,6 +204,48 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[Newtonsoft.Json.JsonProperty("mail")]
[System.Text.Json.Serialization.JsonPropertyName("mail")]
public string Email { get; set; } = string.Empty;
+
+ ///
+ /// 获取或设置联系人证件类型。
+ ///
+ [Newtonsoft.Json.JsonProperty("contact_id_doc_type")]
+ [System.Text.Json.Serialization.JsonPropertyName("contact_id_doc_type")]
+ public string? ContactIdentityType { get; set; }
+
+ ///
+ /// 获取或设置联系人证件正面照片信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("contact_id_doc_copy")]
+ [System.Text.Json.Serialization.JsonPropertyName("contact_id_doc_copy")]
+ public PictureFile? ContactIdFrontPictureFile { get; set; }
+
+ ///
+ /// 获取或设置联系人证件背面照片信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("contact_id_doc_copy_back")]
+ [System.Text.Json.Serialization.JsonPropertyName("contact_id_doc_copy_back")]
+ public PictureFile? ContactIdBackPictureFile { get; set; }
+
+ ///
+ /// 获取或设置联系人证件有效期开始时间(格式:yyyy-MM-dd)。
+ ///
+ [Newtonsoft.Json.JsonProperty("contact_id_doc_period_begin")]
+ [System.Text.Json.Serialization.JsonPropertyName("contact_id_doc_period_begin")]
+ public string? ContactIdPeriodBeginDate { get; set; }
+
+ ///
+ /// 获取或设置联系人证件有效期结束时间(格式:yyyy-MM-dd / "长期")。
+ ///
+ [Newtonsoft.Json.JsonProperty("contact_id_doc_period_end")]
+ [System.Text.Json.Serialization.JsonPropertyName("contact_id_doc_period_end")]
+ public string? ContactIdPeriodEndDate { get; set; }
+
+ ///
+ /// 获取或设置业务办理授权函图片信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("business_authorization_letter")]
+ [System.Text.Json.Serialization.JsonPropertyName("business_authorization_letter")]
+ public PictureFile? AuthorizeLetterPictureFile { get; set; }
}
public class Qualification
@@ -218,6 +267,51 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[System.Text.Json.Serialization.JsonPropertyName("pic_file_list")]
public IList PictureFileList { get; set; } = new List();
}
+
+ public class SettleAccount
+ {
+ ///
+ /// 获取或设置账户类型。
+ ///
+ [Newtonsoft.Json.JsonProperty("acct_type")]
+ [System.Text.Json.Serialization.JsonPropertyName("acct_type")]
+ public int AccountType { get; set; }
+
+ ///
+ /// 获取或设置开户银行。
+ ///
+ [Newtonsoft.Json.JsonProperty("bank")]
+ [System.Text.Json.Serialization.JsonPropertyName("bank")]
+ public string AccountBank { get; set; } = string.Empty;
+
+ ///
+ /// 获取或设置开户名称。
+ ///
+ [Newtonsoft.Json.JsonProperty("name")]
+ [System.Text.Json.Serialization.JsonPropertyName("name")]
+ public string AccountName { get; set; } = string.Empty;
+
+ ///
+ /// 获取或设置银行账号。
+ ///
+ [Newtonsoft.Json.JsonProperty("bank_account_no")]
+ [System.Text.Json.Serialization.JsonPropertyName("bank_account_no")]
+ public string AccountNumber { get; set; } = string.Empty;
+
+ ///
+ /// 获取或设置开户银行省市编码。
+ ///
+ [Newtonsoft.Json.JsonProperty("province_city_code")]
+ [System.Text.Json.Serialization.JsonPropertyName("province_city_code")]
+ public string BankAddressCode { get; set; } = string.Empty;
+
+ ///
+ /// 获取或设置开户银行全称(含支行)。
+ ///
+ [Newtonsoft.Json.JsonProperty("full_name")]
+ [System.Text.Json.Serialization.JsonPropertyName("full_name")]
+ public string? BankBranchName { get; set; }
+ }
}
///
@@ -289,5 +383,19 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[Newtonsoft.Json.JsonProperty("supplementary_desc")]
[System.Text.Json.Serialization.JsonPropertyName("supplementary_desc")]
public string? SupplementaryDescription { get; set; }
+
+ ///
+ /// 获取或设置结算账户信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("settle_acct_info")]
+ [System.Text.Json.Serialization.JsonPropertyName("settle_acct_info")]
+ public Types.SettleAccount? SettleAccount { get; set; }
+
+ ///
+ /// 获取或设置支付资质版本号。
+ ///
+ [Newtonsoft.Json.JsonProperty("applyment_version")]
+ [System.Text.Json.Serialization.JsonPropertyName("applyment_version")]
+ public int? ApplementVersion { get; set; }
}
}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterSubmitMerchantInfoRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterSubmitMerchantInfoRequest.json
index d60fe9ab..5ecb2638 100644
--- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterSubmitMerchantInfoRequest.json
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterSubmitMerchantInfoRequest.json
@@ -1,4 +1,4 @@
-{
+{
"appid": "xxx",
"subject_type": 4,
"busi_license": {
@@ -42,7 +42,22 @@
"name": "姓名",
"id_card_number": "身份证件号码",
"phone": "手机号",
- "mail": "邮箱"
+ "mail": "邮箱",
+ "contact_id_doc_type": "IDENTIFICATION_TYPE_MAINLAND_IDCARD",
+ "contact_id_doc_copy": {
+ "media_id": "xlvjalsdhgas",
+ "pay_media_id": "asdgasvdadfa"
+ },
+ "contact_id_doc_copy_back": {
+ "media_id": "xlvjalsdhgas",
+ "pay_media_id": "asdgasvdadfa"
+ },
+ "contact_id_doc_period_begin": "证件开始时间",
+ "contact_id_doc_period_end": "证件结束时间",
+ "business_authorization_letter": {
+ "media_id": "xlvjalsdhgas",
+ "pay_media_id": "asdgasvdadfa"
+ }
},
"merchant_shortname": "商户简称",
"special_qualification": {
@@ -61,5 +76,14 @@
}
]
},
- "supplementary_desc": "补充描述"
+ "supplementary_desc": "补充描述",
+ "settle_acct_info": {
+ "acct_type": 74,
+ "bank": "",
+ "name": "",
+ "province_city_code": "",
+ "full_name": "",
+ "bank_account_no": ""
+ },
+ "applyment_version": 1
}