mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-12-29 09:54:44 +08:00
feat(tenpayv3): 随官方更新平台收付通分账相关接口模型
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /ecommerce/profitsharing/returnorders 接口的请求。</para>
|
||||
@@ -33,6 +33,13 @@
|
||||
[System.Text.Json.Serialization.JsonPropertyName("out_return_no")]
|
||||
public string OutReturnNumber { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置微信支付订单号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("transaction_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("transaction_id")]
|
||||
public string? TransactionId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置回退商户号。
|
||||
/// </summary>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
{
|
||||
@@ -11,13 +11,6 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
{
|
||||
public class Receiver
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置分账接收商户号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("receiver_mchid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("receiver_mchid")]
|
||||
public string MerchantId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分账接收方类型。
|
||||
/// </summary>
|
||||
@@ -25,6 +18,14 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("type")]
|
||||
public string Type { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分账接收商户号。
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2025-09-29 下线。")]
|
||||
[Newtonsoft.Json.JsonProperty("receiver_mchid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("receiver_mchid")]
|
||||
public string? MerchantId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分账接收方账户。
|
||||
/// </summary>
|
||||
@@ -46,6 +47,13 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("description")]
|
||||
public string Description { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分账明细单号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("detail_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("detail_id")]
|
||||
public string DetailId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分账结果。
|
||||
/// </summary>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
{
|
||||
@@ -42,6 +42,13 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("return_no")]
|
||||
public string ReturnId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置微信支付订单号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("transaction_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("transaction_id")]
|
||||
public string? TransactionId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置回退商户号。
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user