mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-03-10 00:13:36 +08:00
feat(tenpayv2): 新增小微商户相关接口
This commit is contained in:
@@ -13,7 +13,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV2.Models
|
||||
public override string? MerchantId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// <i>(请忽略此字段)</i>
|
||||
/// <i>(冗余字段,请忽略)</i>
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonIgnore]
|
||||
[System.Text.Json.Serialization.JsonIgnore]
|
||||
@@ -40,25 +40,25 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV2.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("desc")]
|
||||
public string? Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置收款方开户行。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("bank_code")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("bank_code")]
|
||||
public string BankCode { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置收款方银行卡号(需使用平台提供的 RSA 公钥加密)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("enc_bank_no")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("enc_bank_no")]
|
||||
public string EncryptedBankNumber { get; set; } = string.Empty;
|
||||
public string BankAccountNumber { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置收款方用户名(需使用平台提供的 RSA 公钥加密)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("enc_true_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("enc_true_name")]
|
||||
public string EncryptedUserName { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置收款方开户行。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("bank_code")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("bank_code")]
|
||||
public string BankCode { get; set; } = string.Empty;
|
||||
public string RealName { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.TenpayV2.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.TenpayV2.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /mmpaysptrans/pay_bank 接口的响应。</para>
|
||||
@@ -10,10 +10,14 @@
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("mch_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("mch_id")]
|
||||
public override string? MerchantId { get; set; }
|
||||
#pragma warning disable CS8618
|
||||
#pragma warning disable CS8765
|
||||
public override string MerchantId { get; set; }
|
||||
#pragma warning restore CS8765
|
||||
#pragma warning restore CS8618
|
||||
|
||||
/// <summary>
|
||||
/// <i>(请忽略此字段)</i>
|
||||
/// <i>(冗余字段,请忽略)</i>
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonIgnore]
|
||||
[System.Text.Json.Serialization.JsonIgnore]
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
public override string? MerchantId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// <i>(请忽略此字段)</i>
|
||||
/// <i>(冗余字段,请忽略)</i>
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonIgnore]
|
||||
[System.Text.Json.Serialization.JsonIgnore]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.TenpayV2.Models
|
||||
{
|
||||
@@ -12,10 +12,14 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV2.Models
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("mch_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("mch_id")]
|
||||
public override string? MerchantId { get; set; }
|
||||
#pragma warning disable CS8618
|
||||
#pragma warning disable CS8765
|
||||
public override string MerchantId { get; set; }
|
||||
#pragma warning restore CS8765
|
||||
#pragma warning restore CS8618
|
||||
|
||||
/// <summary>
|
||||
/// <i>(请忽略此字段)</i>
|
||||
/// <i>(冗余字段,请忽略)</i>
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonIgnore]
|
||||
[System.Text.Json.Serialization.JsonIgnore]
|
||||
|
||||
Reference in New Issue
Block a user