mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-19 07:44:46 +08:00
30 lines
1.2 KiB
C#
30 lines
1.2 KiB
C#
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
|
{
|
|
/// <summary>
|
|
/// <para>表示 [POST] /papay/contracts/{contract_id}/fail-notify 接口的请求。</para>
|
|
/// </summary>
|
|
public class CreatePAPayContractFailedNotificationRequest : WechatTenpayRequest
|
|
{
|
|
/// <summary>
|
|
/// 获取或设置委托代扣协议 ID。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonIgnore]
|
|
[System.Text.Json.Serialization.JsonIgnore]
|
|
public string ContractId { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// 获取或设置微信商户号。如果不指定将使用构造 <see cref="WechatTenpayClient"/> 时的 <see cref="WechatTenpayClientOptions.MerchantId"/> 参数。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("mchid")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("mchid")]
|
|
public string? MerchantId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 获取或设置微信 AppId。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("appid")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("appid")]
|
|
public string AppId { get; set; } = string.Empty;
|
|
}
|
|
}
|