mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-15 23:13:32 +08:00
33 lines
1.2 KiB
C#
33 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
|
{
|
|
/// <summary>
|
|
/// <para>表示 [POST] /pay/partner/transactions/out-trade-no/{out_trade_no}/close 接口的请求。</para>
|
|
/// </summary>
|
|
public class ClosePayPartnerTransactionRequest : WechatTenpayRequest
|
|
{
|
|
/// <summary>
|
|
/// 获取或设置服务商商户号。如果不指定将使用构造 <see cref="WechatTenpayClient"/> 时的 <see cref="WechatTenpayClientOptions.MerchantId"/> 参数。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("sp_mchid")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("sp_mchid")]
|
|
public string? MerchantId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 获取或设置子商户号。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("sub_mchid")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("sub_mchid")]
|
|
public string SubMerchantId { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// 获取或设置商户订单号。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonIgnore]
|
|
[System.Text.Json.Serialization.JsonIgnore]
|
|
public string OutTradeNumber { get; set; } = string.Empty;
|
|
}
|
|
}
|