mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-16 07:59:44 +08:00
128 lines
5.5 KiB
C#
128 lines
5.5 KiB
C#
namespace SKIT.FlurlHttpClient.Wechat.TenpayV2.Models
|
|
{
|
|
/// <summary>
|
|
/// <para>表示 [POST] /deposit/refund 接口的响应。</para>
|
|
/// </summary>
|
|
public class CreateDepositRefundResponse : WechatTenpaySignableResponse
|
|
{
|
|
/// <summary>
|
|
/// <inheritdoc/>
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("mch_id")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("mch_id")]
|
|
public override string? MerchantId { get; set; }
|
|
|
|
/// <summary>
|
|
/// <inheritdoc/>
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("appid")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("appid")]
|
|
public override string? AppId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 获取或设置子商户号。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("sub_mch_id")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("sub_mch_id")]
|
|
public string? SubMerchantId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 获取或设置子商户 AppId。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("sub_appid")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("sub_appid")]
|
|
public string? SubAppId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 获取或设置商户订单号。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("out_trade_no")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("out_trade_no")]
|
|
public string OutTradeNumber { get; set; } = default!;
|
|
|
|
/// <summary>
|
|
/// 获取或设置微信支付订单号。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("transaction_id")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("transaction_id")]
|
|
public string TransactionId { get; set; } = default!;
|
|
|
|
/// <summary>
|
|
/// 获取或设置商户退款单号。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("out_refund_no")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("out_refund_no")]
|
|
public string OutRefundNumber { get; set; } = default!;
|
|
|
|
/// <summary>
|
|
/// 获取或设置微信退款单号。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("refund_id")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("refund_id")]
|
|
public string RefundId { get; set; } = default!;
|
|
|
|
/// <summary>
|
|
/// 获取或设置订单金额(单位:分)。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("total_fee")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("total_fee")]
|
|
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
|
public int TotalFee { get; set; }
|
|
|
|
/// <summary>
|
|
/// 获取或设置货币类型。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("fee_type")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("fee_type")]
|
|
public string? FeeType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 获取或设置退款金额(单位:分)。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("refund_fee")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("refund_fee")]
|
|
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
|
public int RefundFee { get; set; }
|
|
|
|
/// <summary>
|
|
/// 获取或设置应结订单金额(单位:分)。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("settlement_total_fee")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("settlement_total_fee")]
|
|
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
|
public int? SettlementTotalFee { get; set; }
|
|
|
|
/// <summary>
|
|
/// 获取或设置应结退款金额(单位:分)。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("settlement_refund_fee")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("settlement_refund_fee")]
|
|
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
|
public int? SettlementRefundFee { get; set; }
|
|
|
|
/// <summary>
|
|
/// 获取或设置代金券退款金额。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("coupon_refund_fee")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("coupon_refund_fee")]
|
|
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
|
public int? CouponRefundFee { get; set; }
|
|
|
|
/// <summary>
|
|
/// 获取或设置现金支付金额(单位:分)。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("cash_fee")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("cash_fee")]
|
|
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
|
public int? CashFee { get; set; }
|
|
|
|
/// <summary>
|
|
/// 获取或设置现金退款金额(单位:分)。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("cash_refund_fee")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("cash_refund_fee")]
|
|
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
|
public int? CashRefundFee { get; set; }
|
|
}
|
|
}
|