-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
195 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
...Ecommerce/Insurance/ApplyPlatformSolutionEcommerceInsuranceCompensationContractRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models | ||
{ | ||
/// <summary> | ||
/// <para>表示 [POST] /platsolution/ecommerce/insurance-compensation-contracts 接口的请求。</para> | ||
/// </summary> | ||
public class ApplyPlatformSolutionEcommerceInsuranceCompensationContractRequest : WechatTenpayRequest | ||
{ | ||
public static class Types | ||
{ | ||
public class Agreement | ||
{ | ||
/// <summary> | ||
/// 获取或设置协议编号。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("agreement_code")] | ||
[System.Text.Json.Serialization.JsonPropertyName("agreement_code")] | ||
public string AgreementCode { get; set; } = string.Empty; | ||
|
||
/// <summary> | ||
/// 获取或设置协议版本号。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("agreement_version")] | ||
[System.Text.Json.Serialization.JsonPropertyName("agreement_version")] | ||
public string AgreementVersion { get; set; } = string.Empty; | ||
|
||
/// <summary> | ||
/// 获取或设置签约主体。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("sign_organization")] | ||
[System.Text.Json.Serialization.JsonPropertyName("sign_organization")] | ||
public string SignOrganization { get; set; } = string.Empty; | ||
|
||
/// <summary> | ||
/// 获取或设置签约时间。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("sign_time")] | ||
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.Rfc3339DateTimeOffsetConverter))] | ||
[System.Text.Json.Serialization.JsonPropertyName("sign_time")] | ||
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.Rfc3339DateTimeOffsetConverter))] | ||
public DateTimeOffset SignTime { 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.JsonProperty("out_apply_no")] | ||
[System.Text.Json.Serialization.JsonPropertyName("out_apply_no")] | ||
public string OutApplyNumber { get; set; } = string.Empty; | ||
|
||
/// <summary> | ||
/// 获取或设置签约协议列表。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("agreement_list")] | ||
[System.Text.Json.Serialization.JsonPropertyName("agreement_list")] | ||
public IList<Types.Agreement> AgreementList { get; set; } = new List<Types.Agreement>(); | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
...commerce/Insurance/ApplyPlatformSolutionEcommerceInsuranceCompensationContractResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models | ||
{ | ||
/// <summary> | ||
/// <para>表示 [POST] /platsolution/ecommerce/insurance-compensation-contracts 接口的响应。</para> | ||
/// </summary> | ||
public class ApplyPlatformSolutionEcommerceInsuranceCompensationContractResponse : GetPlatformSolutionEcommerceInsuranceCompensationContractBySubMerchantIdResponse | ||
{ | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...urance/GetPlatformSolutionEcommerceInsuranceCompensationContractBySubMerchantIdRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models | ||
{ | ||
/// <summary> | ||
/// <para>表示 [GET] /platsolution/ecommerce/insurance-compensation-contracts/sub-mchid/{sub_mchid}/check-opened 接口的请求。</para> | ||
/// </summary> | ||
public class GetPlatformSolutionEcommerceInsuranceCompensationContractBySubMerchantIdRequest : WechatTenpayRequest | ||
{ | ||
/// <summary> | ||
/// 获取或设置二级商户号。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonIgnore] | ||
[System.Text.Json.Serialization.JsonIgnore] | ||
public string SubMerchantId { get; set; } = string.Empty; | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...rance/GetPlatformSolutionEcommerceInsuranceCompensationContractBySubMerchantIdResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
using System; | ||
|
||
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models | ||
{ | ||
/// <summary> | ||
/// <para>表示 [GET] /platsolution/ecommerce/insurance-compensation-contracts/sub-mchid/{sub_mchid}/check-opened 接口的响应。</para> | ||
/// </summary> | ||
public class GetPlatformSolutionEcommerceInsuranceCompensationContractBySubMerchantIdResponse : WechatTenpayResponse | ||
{ | ||
/// <summary> | ||
/// 获取或设置二级商户号。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("sub_mchid")] | ||
[System.Text.Json.Serialization.JsonPropertyName("sub_mchid")] | ||
public string SubMerchantId { get; set; } = default!; | ||
|
||
/// <summary> | ||
/// 获取或设置是否开通成功。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("opened")] | ||
[System.Text.Json.Serialization.JsonPropertyName("opened")] | ||
public bool IsOpened { get; set; } | ||
|
||
/// <summary> | ||
/// 获取或设置开通成功时间。 | ||
/// </summary> | ||
[Newtonsoft.Json.JsonProperty("success_time")] | ||
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.Rfc3339DateTimeOffsetConverter))] | ||
[System.Text.Json.Serialization.JsonPropertyName("success_time")] | ||
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.Rfc3339DateTimeOffsetConverter))] | ||
public DateTimeOffset? SuccessTime { get; set; } | ||
} | ||
} |
File renamed without changes.
2 changes: 0 additions & 2 deletions
2
...tformSolutionEcommerceRechargeResponse.cs → ...tformSolutionEcommerceRechargeResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
using System; | ||
|
||
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models | ||
{ | ||
/// <summary> | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions
12
...ommerce/Insurance/ApplyPlatformSolutionEcommerceInsuranceCompensationContractRequest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"out_apply_no": "No123456", | ||
"sub_mchid": "1900000109", | ||
"agreement_list": [ | ||
{ | ||
"agreement_code": "微信支付运营功能服务协议(平台二级商户)", | ||
"agreement_version": "20240815", | ||
"sign_organization": "温州名优贸易", | ||
"sign_time": "2024-08-08T10:34:56+08:00" | ||
} | ||
] | ||
} |
5 changes: 5 additions & 0 deletions
5
...mmerce/Insurance/ApplyPlatformSolutionEcommerceInsuranceCompensationContractResponse.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"sub_mchid": "1900000109", | ||
"opened": true, | ||
"success_time": "2024-08-09T13:29:35.120+08:00" | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.