mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-16 16:50:43 +08:00
feat(wxapi): 随官方更新小程序自定义交易组件提交支付资质接口模型
This commit is contained in:
parent
7604af6aab
commit
8a10340f16
@ -1,4 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
@ -151,6 +151,93 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public string MobileNumber { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class BankAccount
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class AccountCertificate
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置结算证明函图片信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("wxa_settlement_cert_pic")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("wxa_settlement_cert_pic")]
|
||||
public Image SettlementCertificatePicture { get; set; } = new Image();
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置结算证明函图片信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("wxa_relation_cert_pic")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("wxa_relation_cert_pic")]
|
||||
public Image RelationCertificatePicture { get; set; } = new Image();
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置其他补充证明图片信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("wxa_other_cert_pics")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("wxa_other_cert_pics")]
|
||||
public IList<Image> OtherCertificatePictureList { get; set; } = new List<Image>();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置账户类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("bank_account_type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("bank_account_type")]
|
||||
public string AccountType { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置开户名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("account_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("account_name")]
|
||||
public string AccountName { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置银行账号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("account_number")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("account_number")]
|
||||
public string AccountNumber { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置开户银行。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("account_bank")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("account_bank")]
|
||||
public string AccountBank { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置开户银行省市编码。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("bank_address_code")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("bank_address_code")]
|
||||
public string BankAddressCode { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置开户银行联行号。与字段 <see cref="BankBranchName"/> 二选一。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("bank_branch_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("bank_branch_id")]
|
||||
public string? BankBranchId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置开户银行全称(含支行)。与字段 <see cref="BankBranchId"/> 二选一。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("bank_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("bank_name")]
|
||||
public string? BankBranchName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置账号证明材料信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("account_cert_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("account_cert_info")]
|
||||
public Types.AccountCertificate? AccountCertificate { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class Qualification
|
||||
{
|
||||
/// <summary>
|
||||
@ -208,6 +295,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("contact_info")]
|
||||
public Types.Contact Contact { get; set; } = new Types.Contact();
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置结算银行账户信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("account_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("account_info")]
|
||||
public Types.BankAccount BankAccount { get; set; } = new Types.BankAccount();
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商户简称。
|
||||
/// </summary>
|
||||
|
@ -1,4 +1,5 @@
|
||||
{
|
||||
{
|
||||
"organization_type": 2,
|
||||
"business_license_info": {
|
||||
"legal_person": "于先生",
|
||||
"wxa_business_license_copy": {
|
||||
@ -27,5 +28,14 @@
|
||||
"contact_type": "65",
|
||||
"contact_email": "wxg@tencent.com",
|
||||
"mobile_phone": "15521050856"
|
||||
},
|
||||
"merchant_shortname": "交易组件",
|
||||
"account_info": {
|
||||
"account_bank": "工商银行",
|
||||
"account_name": "AOZdYGISxo4y44/UgZ69bdu9X+tfMUJ9dl+LetjM45/zMbrYu+wWZ8gn4CTdo+D/m9MrPg+V4sm73oxqdQu/hj7aWyDl45IL9DBd+Z0zZXkw==",
|
||||
"account_number": "d+xT+MQCvrLHUVDWv/8MR/dB7TkXM2YYZlokmXzFsWs35NXUot7C0NcxIrUF5FnxqCJHkNgKtxa6RxEYyba1+VBRLnqKGYQE8ZRGYoeorwC+w==",
|
||||
"bank_account_type": "75",
|
||||
"bank_address_code": "110000",
|
||||
"bank_branch_id": "402713354941"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user