mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-03-10 00:13:36 +08:00
40 lines
1.5 KiB
C#
40 lines
1.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
|
{
|
|
/// <summary>
|
|
/// <para>表示 [POST] /pay/partner/transactions/app 接口的请求。</para>
|
|
/// </summary>
|
|
public class CreatePayPartnerTransactionAppRequest : CreatePayTransactionAppRequest
|
|
{
|
|
/// <summary>
|
|
/// 获取或设置服务商商户号。如果不指定将使用构造 <see cref="WechatTenpayClient"/> 时的 <see cref="WechatTenpayClientOptions.MerchantId"/> 参数。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("sp_mchid")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("sp_mchid")]
|
|
public override 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>
|
|
/// 获取或设置服务商 AppId。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("sp_appid")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("sp_appid")]
|
|
public override string AppId { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// 获取或设置子商户 AppId。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("sub_appid")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("sub_appid")]
|
|
public string? SubAppId { get; set; }
|
|
}
|
|
}
|