feat(tenpayv3): 重命名部分接口模型 "PAPPay" → "PAPay"

This commit is contained in:
Fu Diwei 2024-05-06 21:12:19 +08:00
parent 9b18df8f2e
commit da4897fa02
163 changed files with 204 additions and 204 deletions

View File

@ -514,7 +514,7 @@
- 扣款服务
- 预扣费通知:`NotifyPAPPayContract`
- 预扣费通知:`NotifyPAPayContract`
- 代扣服务切卡组件
@ -522,21 +522,21 @@
- 教育续费通:
- 预签约:`PresignEducationPAPPayContract`
- 预签约:`PresignEducationPAPayContract`
- 通过协议号查询签约:`GetEducationPAPPayContractByContractId`
- 通过协议号查询签约:`GetEducationPAPayContractByContractId`
- 通过用户标识查询签约:`QueryEducationPAPPayUserContracts`
- 通过用户标识查询签约:`QueryEducationPAPayUserContracts`
- 解约:`TerminateEducationPAPPayContract`
- 解约:`TerminateEducationPAPayContract`
- 发送扣款预通知:`SendEducationPAPPayContractNotification`
- 发送扣款预通知:`SendEducationPAPayContractNotification`
- 教育通扣款受理:`CreateEducationPAPPayTransaction`
- 教育通扣款受理:`CreateEducationPAPayTransaction`
- 微信订单号查单:`GetEducationPAPPayTransactionById`
- 微信订单号查单:`GetEducationPAPayTransactionById`
- 商户订单号查单:`GetEducationPAPPayTransactionByOutTradeNumber`
- 商户订单号查单:`GetEducationPAPayTransactionByOutTradeNumber`
- 租用充电宝隔夜归还
@ -778,15 +778,15 @@
- APP 方式预签约:`PresignEcommerceCombinePAPayContractEntrustApp`
- 查询协议:`GetEcommerceCombinePAPPayContractByOutContractCode`
- 查询协议:`GetEcommerceCombinePAPayContractByOutContractCode`
- 解约协议:`TerminatEcommerceCombinePAPPayContract`
- 解约协议:`TerminatEcommerceCombinePAPayContract`
- 支付:`CreateEcommerceCombinePAPPayTransaction`
- 支付:`CreateEcommerceCombinePAPayTransaction`
- 撤销订单:`ReverseEcommerceCombinePAPPayTransaction`
- 撤销订单:`ReverseEcommerceCombinePAPayTransaction`
- 查询订单:`GetEcommerceCombinePAPPayTransactionByCombineOutTradeNumber`
- 查询订单:`GetEcommerceCombinePAPayTransactionByCombineOutTradeNumber`
- 平台收付通(分账)
@ -1190,7 +1190,7 @@
- 扣款服务
- 预扣费通知:`NotifyPartnerPAPPayContract`
- 预扣费通知:`NotifyPartnerPAPayContract`
- 代扣服务切卡组件
@ -1510,25 +1510,25 @@
- Auto-Debit Payment
- Mini Program Signing: `PresignHKPAPPayContractEntrustMiniProgram` / `PresignHKPartnerPAPPayContractEntrustMiniProgram`
- Mini Program Signing: `PresignHKPAPayContractEntrustMiniProgram` / `PresignHKPartnerPAPayContractEntrustMiniProgram`
- H5 Signing: `PresignHKPAPPayContractEntrustH5` / `PresignHKPartnerPAPPayContractEntrustH5`
- H5 Signing: `PresignHKPAPayContractEntrustH5` / `PresignHKPartnerPAPayContractEntrustH5`
- JSAPI Signing: `PresignHKPAPPayContractEntrustJsapi` / `PresignHKPartnerPAPPayContractEntrustJsapi`
- JSAPI Signing: `PresignHKPAPayContractEntrustJsapi` / `PresignHKPartnerPAPayContractEntrustJsapi`
- PC WEB Signing: `PresignHKPAPPayContractEntrustJsapi` / `PresignHKPartnerPAPPayContractEntrustJsapi`
- PC WEB Signing: `PresignHKPAPayContractEntrustJsapi` / `PresignHKPartnerPAPayContractEntrustJsapi`
- APP Signing: `PresignHKPAPPayContractEntrustApp` / `PresignHKPartnerPAPPayContractEntrustApp`
- APP Signing: `PresignHKPAPayContractEntrustApp` / `PresignHKPartnerPAPayContractEntrustApp`
- Querying Signing Status: `GetHKPAPPayContractByOutContractCode` / `GetHKPAPPayContractByContractId` / `GetHKPartnerPAPPayContractByOutContractCode` / `GetHKPartnerPAPPayContractByContractId`
- Querying Signing Status: `GetHKPAPayContractByOutContractCode` / `GetHKPAPayContractByContractId` / `GetHKPartnerPAPayContractByOutContractCode` / `GetHKPartnerPAPayContractByContractId`
- Applying for Termination: `TerminateHKPAPPayContract` / `TerminateHKPartnerPAPPayContract`
- Applying for Termination: `TerminateHKPAPayContract` / `TerminateHKPartnerPAPayContract`
- Deduction: `CreateHKPAPPayTransaction` / `CreateHKPartnerPAPPayTransaction`
- Deduction: `CreateHKPAPayTransaction` / `CreateHKPartnerPAPayTransaction`
- Order Query: `GetHKPAPPayTransactionByOutTradeNumber` / `GetHKPAPPayTransactionById` / `GetHKPartnerPAPPayTransactionByOutTradeNumber` / `GetHKPartnerPAPPayTransactionById`
- Order Query: `GetHKPAPayTransactionByOutTradeNumber` / `GetHKPAPayTransactionById` / `GetHKPartnerPAPayTransactionByOutTradeNumber` / `GetHKPartnerPAPayTransactionById`
- Order Reversing: `ReverseHKPAPPayTransaction` / `ReverseHKPartnerPAPPayTransaction`
- Order Reversing: `ReverseHKPAPayTransaction` / `ReverseHKPartnerPAPayTransaction`
- Submit Refund: `CreateHKRefund` / `CreateHKPartnerRefund`

View File

@ -8,7 +8,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events
{
public static class Types
{
public class Contract : Models.GetEducationPAPPayContractByContractIdResponse.Types.Contract
public class Contract : Models.GetEducationPAPayContractByContractIdResponse.Types.Contract
{
}
}

View File

@ -10,19 +10,19 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events
{
public static class Types
{
public class Payer : Models.GetEducationPAPPayTransactionByOutTradeNumberResponse.Types.Payer
public class Payer : Models.GetEducationPAPayTransactionByOutTradeNumberResponse.Types.Payer
{
}
public class Amount : Models.GetEducationPAPPayTransactionByOutTradeNumberResponse.Types.Amount
public class Amount : Models.GetEducationPAPayTransactionByOutTradeNumberResponse.Types.Amount
{
}
public class Device : Models.GetEducationPAPPayTransactionByOutTradeNumberResponse.Types.Device
public class Device : Models.GetEducationPAPayTransactionByOutTradeNumberResponse.Types.Device
{
}
public class Promotion : Models.GetEducationPAPPayTransactionByOutTradeNumberResponse.Types.Promotion
public class Promotion : Models.GetEducationPAPayTransactionByOutTradeNumberResponse.Types.Promotion
{
}
}

View File

@ -6,7 +6,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Events
/// <para>表示 PAPAY.SIGN (仅限直连商户)通知的数据。</para>
/// <para>表示 PAPAY.TERMINATE (仅限直连商户)通知的数据。</para>
/// </summary>
public class PAPPayContractResource : WechatTenpayGlobalEvent.Types.IDecryptedResource
public class PAPayContractResource : WechatTenpayGlobalEvent.Types.IDecryptedResource
{
/// <summary>
/// 获取或设置微信商户号。

View File

@ -4,7 +4,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Events
/// <para>表示 PAPAY.SIGN (仅限服务商)通知的数据。</para>
/// <para>表示 PAPAY.TERMINATE (仅限服务商)通知的数据。</para>
/// </summary>
public class PartnerPAPPayContractResource : PAPPayContractResource, WechatTenpayEvent.Types.IDecryptedResource
public class PartnerPAPayContractResource : PAPayContractResource, WechatTenpayEvent.Types.IDecryptedResource
{
/// <summary>
/// <inheritdoc />

View File

@ -6,7 +6,7 @@ using Flurl.Http;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
{
public static class WechatTenpayGlobalClientExecutePAPPayExtensions
public static class WechatTenpayGlobalClientExecutePAPayExtensions
{
/// <summary>
/// <para>异步调用 [POST] /papay/contracts/app-pre-entrust-sign 接口。</para>
@ -19,7 +19,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.PresignPAPPayContractEntrustAppResponse> ExecutePresignPAPPayContractEntrustAppAsync(this WechatTenpayGlobalClient client, Models.PresignPAPPayContractEntrustAppRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.PresignPAPayContractEntrustAppResponse> ExecutePresignPAPayContractEntrustAppAsync(this WechatTenpayGlobalClient client, Models.PresignPAPayContractEntrustAppRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -27,7 +27,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "papay", "contracts", "app-pre-entrust-sign");
return await client.SendFlurlRequestAsJsonAsync<Models.PresignPAPPayContractEntrustAppResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.PresignPAPayContractEntrustAppResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -41,7 +41,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.PresignPAPPayContractEntrustJsapiResponse> ExecutePresignPAPPayContractEntrustJsapiAsync(this WechatTenpayGlobalClient client, Models.PresignPAPPayContractEntrustJsapiRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.PresignPAPayContractEntrustJsapiResponse> ExecutePresignPAPayContractEntrustJsapiAsync(this WechatTenpayGlobalClient client, Models.PresignPAPayContractEntrustJsapiRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -49,7 +49,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "papay", "contracts", "jsapi-pre-entrust-sign");
return await client.SendFlurlRequestAsJsonAsync<Models.PresignPAPPayContractEntrustJsapiResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.PresignPAPayContractEntrustJsapiResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -63,7 +63,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.PresignPAPPayContractEntrustMiniProgramResponse> ExecutePresignPAPPayContractEntrustMiniProgramAsync(this WechatTenpayGlobalClient client, Models.PresignPAPPayContractEntrustMiniProgramRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.PresignPAPayContractEntrustMiniProgramResponse> ExecutePresignPAPayContractEntrustMiniProgramAsync(this WechatTenpayGlobalClient client, Models.PresignPAPayContractEntrustMiniProgramRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -71,7 +71,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "papay", "contracts", "miniprogram-pre-entrust-sign");
return await client.SendFlurlRequestAsJsonAsync<Models.PresignPAPPayContractEntrustMiniProgramResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.PresignPAPayContractEntrustMiniProgramResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -85,7 +85,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.PresignPAPPayContractEntrustH5Response> ExecutePresignPAPPayContractEntrustH5Async(this WechatTenpayGlobalClient client, Models.PresignPAPPayContractEntrustH5Request request, CancellationToken cancellationToken = default)
public static async Task<Models.PresignPAPayContractEntrustH5Response> ExecutePresignPAPayContractEntrustH5Async(this WechatTenpayGlobalClient client, Models.PresignPAPayContractEntrustH5Request request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -93,7 +93,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "papay", "contracts", "h5-pre-entrust-sign");
return await client.SendFlurlRequestAsJsonAsync<Models.PresignPAPPayContractEntrustH5Response>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.PresignPAPayContractEntrustH5Response>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -107,7 +107,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.PresignPAPPayContractEntrustWebResponse> ExecutePresignPAPPayContractEntrustWebAsync(this WechatTenpayGlobalClient client, Models.PresignPAPPayContractEntrustWebRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.PresignPAPayContractEntrustWebResponse> ExecutePresignPAPayContractEntrustWebAsync(this WechatTenpayGlobalClient client, Models.PresignPAPayContractEntrustWebRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -115,7 +115,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "papay", "contracts", "web-pre-entrust-sign");
return await client.SendFlurlRequestAsJsonAsync<Models.PresignPAPPayContractEntrustWebResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.PresignPAPayContractEntrustWebResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -129,7 +129,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.GetPAPPayContractByOutContractCodeResponse> ExecuteGetPAPPayContractByOutContractCodeAsync(this WechatTenpayGlobalClient client, Models.GetPAPPayContractByOutContractCodeRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.GetPAPayContractByOutContractCodeResponse> ExecuteGetPAPayContractByOutContractCodeAsync(this WechatTenpayGlobalClient client, Models.GetPAPayContractByOutContractCodeRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -139,7 +139,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
.SetQueryParam("appid", request.AppId)
.SetQueryParam("plan_id", request.PlanId);
return await client.SendFlurlRequestAsJsonAsync<Models.GetPAPPayContractByOutContractCodeResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.GetPAPayContractByOutContractCodeResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -153,7 +153,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.GetPAPPayContractByContractIdResponse> ExecuteGetPAPPayContractByContractIdAsync(this WechatTenpayGlobalClient client, Models.GetPAPPayContractByContractIdRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.GetPAPayContractByContractIdResponse> ExecuteGetPAPayContractByContractIdAsync(this WechatTenpayGlobalClient client, Models.GetPAPayContractByContractIdRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -162,7 +162,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
.CreateFlurlRequest(request, HttpMethod.Get, "papay", "contracts", request.ContractId)
.SetQueryParam("appid", request.AppId);
return await client.SendFlurlRequestAsJsonAsync<Models.GetPAPPayContractByContractIdResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.GetPAPayContractByContractIdResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -176,7 +176,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.TerminatePAPPayContractResponse> ExecuteTerminatePAPPayContractAsync(this WechatTenpayGlobalClient client, Models.TerminatePAPPayContractRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.TerminatePAPayContractResponse> ExecuteTerminatePAPayContractAsync(this WechatTenpayGlobalClient client, Models.TerminatePAPayContractRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -184,7 +184,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "papay", "contracts", request.ContractId, "terminate");
return await client.SendFlurlRequestAsJsonAsync<Models.TerminatePAPPayContractResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.TerminatePAPayContractResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -198,7 +198,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.CreatePAPPayTransactionResponse> ExecuteCreatePAPPayTransactionAsync(this WechatTenpayGlobalClient client, Models.CreatePAPPayTransactionRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.CreatePAPayTransactionResponse> ExecuteCreatePAPayTransactionAsync(this WechatTenpayGlobalClient client, Models.CreatePAPayTransactionRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -206,7 +206,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "papay", "transactions");
return await client.SendFlurlRequestAsJsonAsync<Models.CreatePAPPayTransactionResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.CreatePAPayTransactionResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -220,7 +220,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.GetPAPPayTransactionByOutTradeNumberResponse> ExecuteGetPAPPayTransactionByOutTradeNumberAsync(this WechatTenpayGlobalClient client, Models.GetPAPPayTransactionByOutTradeNumberRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.GetPAPayTransactionByOutTradeNumberResponse> ExecuteGetPAPayTransactionByOutTradeNumberAsync(this WechatTenpayGlobalClient client, Models.GetPAPayTransactionByOutTradeNumberRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -228,7 +228,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Get, "papay", "transactions", "out-trade-no", request.OutTradeNumber);
return await client.SendFlurlRequestAsJsonAsync<Models.GetPAPPayTransactionByOutTradeNumberResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.GetPAPayTransactionByOutTradeNumberResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -242,7 +242,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.GetPAPPayTransactionByIdResponse> ExecuteGetPAPPayTransactionByIdAsync(this WechatTenpayGlobalClient client, Models.GetPAPPayTransactionByIdRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.GetPAPayTransactionByIdResponse> ExecuteGetPAPayTransactionByIdAsync(this WechatTenpayGlobalClient client, Models.GetPAPayTransactionByIdRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -250,7 +250,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Get, "papay", "transactions", request.TransactionId);
return await client.SendFlurlRequestAsJsonAsync<Models.GetPAPPayTransactionByIdResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.GetPAPayTransactionByIdResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -264,7 +264,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.ReversePAPPayTransactionResponse> ExecuteReversePAPPayTransactionAsync(this WechatTenpayGlobalClient client, Models.ReversePAPPayTransactionRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.ReversePAPayTransactionResponse> ExecuteReversePAPayTransactionAsync(this WechatTenpayGlobalClient client, Models.ReversePAPayTransactionRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -272,7 +272,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "papay", "transactions", "out-trade-no", request.OutTradeNumber, "reverse");
return await client.SendFlurlRequestAsJsonAsync<Models.ReversePAPPayTransactionResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.ReversePAPayTransactionResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
}
}

View File

@ -6,7 +6,7 @@ using Flurl.Http;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
{
public static class WechatTenpayGlobalClientExecutePartnerPAPPayExtensions
public static class WechatTenpayGlobalClientExecutePartnerPAPayExtensions
{
/// <summary>
/// <para>异步调用 [POST] /papay/contracts/app-pre-entrust-sign 接口。</para>
@ -19,7 +19,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.PresignPartnerPAPPayContractEntrustAppResponse> ExecutePresignPartnerPAPPayContractEntrustAppAsync(this WechatTenpayGlobalClient client, Models.PresignPartnerPAPPayContractEntrustAppRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.PresignPartnerPAPayContractEntrustAppResponse> ExecutePresignPartnerPAPayContractEntrustAppAsync(this WechatTenpayGlobalClient client, Models.PresignPartnerPAPayContractEntrustAppRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -27,7 +27,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "papay", "contracts", "app-pre-entrust-sign");
return await client.SendFlurlRequestAsJsonAsync<Models.PresignPartnerPAPPayContractEntrustAppResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.PresignPartnerPAPayContractEntrustAppResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -41,7 +41,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.PresignPartnerPAPPayContractEntrustJsapiResponse> ExecutePresignPartnerPAPPayContractEntrustJsapiAsync(this WechatTenpayGlobalClient client, Models.PresignPartnerPAPPayContractEntrustJsapiRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.PresignPartnerPAPayContractEntrustJsapiResponse> ExecutePresignPartnerPAPayContractEntrustJsapiAsync(this WechatTenpayGlobalClient client, Models.PresignPartnerPAPayContractEntrustJsapiRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -49,7 +49,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "papay", "contracts", "jsapi-pre-entrust-sign");
return await client.SendFlurlRequestAsJsonAsync<Models.PresignPartnerPAPPayContractEntrustJsapiResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.PresignPartnerPAPayContractEntrustJsapiResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -63,7 +63,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.PresignPartnerPAPPayContractEntrustMiniProgramResponse> ExecutePresignPartnerPAPPayContractEntrustMiniProgramAsync(this WechatTenpayGlobalClient client, Models.PresignPartnerPAPPayContractEntrustMiniProgramRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.PresignPartnerPAPayContractEntrustMiniProgramResponse> ExecutePresignPartnerPAPayContractEntrustMiniProgramAsync(this WechatTenpayGlobalClient client, Models.PresignPartnerPAPayContractEntrustMiniProgramRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -71,7 +71,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "papay", "contracts", "miniprogram-pre-entrust-sign");
return await client.SendFlurlRequestAsJsonAsync<Models.PresignPartnerPAPPayContractEntrustMiniProgramResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.PresignPartnerPAPayContractEntrustMiniProgramResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -85,7 +85,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.PresignPartnerPAPPayContractEntrustH5Response> ExecutePresignPartnerPAPPayContractEntrustH5Async(this WechatTenpayGlobalClient client, Models.PresignPartnerPAPPayContractEntrustH5Request request, CancellationToken cancellationToken = default)
public static async Task<Models.PresignPartnerPAPayContractEntrustH5Response> ExecutePresignPartnerPAPayContractEntrustH5Async(this WechatTenpayGlobalClient client, Models.PresignPartnerPAPayContractEntrustH5Request request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -93,7 +93,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "papay", "contracts", "h5-pre-entrust-sign");
return await client.SendFlurlRequestAsJsonAsync<Models.PresignPartnerPAPPayContractEntrustH5Response>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.PresignPartnerPAPayContractEntrustH5Response>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -107,7 +107,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.PresignPartnerPAPPayContractEntrustWebResponse> ExecutePresignPartnerPAPPayContractEntrustWebAsync(this WechatTenpayGlobalClient client, Models.PresignPartnerPAPPayContractEntrustWebRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.PresignPartnerPAPayContractEntrustWebResponse> ExecutePresignPartnerPAPayContractEntrustWebAsync(this WechatTenpayGlobalClient client, Models.PresignPartnerPAPayContractEntrustWebRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -115,7 +115,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "papay", "contracts", "web-pre-entrust-sign");
return await client.SendFlurlRequestAsJsonAsync<Models.PresignPartnerPAPPayContractEntrustWebResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.PresignPartnerPAPayContractEntrustWebResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -129,7 +129,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.GetPartnerPAPPayContractByOutContractCodeResponse> ExecuteGetPartnerPAPPayContractByOutContractCodeAsync(this WechatTenpayGlobalClient client, Models.GetPartnerPAPPayContractByOutContractCodeRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.GetPartnerPAPayContractByOutContractCodeResponse> ExecuteGetPartnerPAPayContractByOutContractCodeAsync(this WechatTenpayGlobalClient client, Models.GetPartnerPAPayContractByOutContractCodeRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -141,7 +141,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
.SetQueryParam("sub_appid", request.SubAppId)
.SetQueryParam("plan_id", request.PlanId);
return await client.SendFlurlRequestAsJsonAsync<Models.GetPartnerPAPPayContractByOutContractCodeResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.GetPartnerPAPayContractByOutContractCodeResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -155,7 +155,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.GetPartnerPAPPayContractByContractIdResponse> ExecuteGetPartnerPAPPayContractByContractIdAsync(this WechatTenpayGlobalClient client, Models.GetPartnerPAPPayContractByContractIdRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.GetPartnerPAPayContractByContractIdResponse> ExecuteGetPartnerPAPayContractByContractIdAsync(this WechatTenpayGlobalClient client, Models.GetPartnerPAPayContractByContractIdRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -166,7 +166,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
.SetQueryParam("sub_mchid", request.SubMerchantId)
.SetQueryParam("sub_appid", request.SubAppId);
return await client.SendFlurlRequestAsJsonAsync<Models.GetPartnerPAPPayContractByContractIdResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.GetPartnerPAPayContractByContractIdResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -180,7 +180,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.TerminatePartnerPAPPayContractResponse> ExecuteTerminatePartnerPAPPayContractAsync(this WechatTenpayGlobalClient client, Models.TerminatePartnerPAPPayContractRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.TerminatePartnerPAPayContractResponse> ExecuteTerminatePartnerPAPayContractAsync(this WechatTenpayGlobalClient client, Models.TerminatePartnerPAPayContractRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -188,7 +188,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "papay", "contracts", request.ContractId, "terminate");
return await client.SendFlurlRequestAsJsonAsync<Models.TerminatePartnerPAPPayContractResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.TerminatePartnerPAPayContractResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -202,7 +202,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.CreatePartnerPAPPayTransactionResponse> ExecuteCreatePartnerPAPPayTransactionAsync(this WechatTenpayGlobalClient client, Models.CreatePartnerPAPPayTransactionRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.CreatePartnerPAPayTransactionResponse> ExecuteCreatePartnerPAPayTransactionAsync(this WechatTenpayGlobalClient client, Models.CreatePartnerPAPayTransactionRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -210,7 +210,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "papay", "transactions");
return await client.SendFlurlRequestAsJsonAsync<Models.CreatePartnerPAPPayTransactionResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.CreatePartnerPAPayTransactionResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -224,7 +224,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.GetPartnerPAPPayTransactionByOutTradeNumberResponse> ExecuteGetPartnerPAPPayTransactionByOutTradeNumberAsync(this WechatTenpayGlobalClient client, Models.GetPartnerPAPPayTransactionByOutTradeNumberRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.GetPartnerPAPayTransactionByOutTradeNumberResponse> ExecuteGetPartnerPAPayTransactionByOutTradeNumberAsync(this WechatTenpayGlobalClient client, Models.GetPartnerPAPayTransactionByOutTradeNumberRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -233,7 +233,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
.CreateFlurlRequest(request, HttpMethod.Get, "papay", "transactions", "out-trade-no", request.OutTradeNumber)
.SetQueryParam("sub_mchid", request.SubMerchantId);
return await client.SendFlurlRequestAsJsonAsync<Models.GetPartnerPAPPayTransactionByOutTradeNumberResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.GetPartnerPAPayTransactionByOutTradeNumberResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -247,7 +247,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.GetPartnerPAPPayTransactionByIdResponse> ExecuteGetPartnerPAPPayTransactionByIdAsync(this WechatTenpayGlobalClient client, Models.GetPartnerPAPPayTransactionByIdRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.GetPartnerPAPayTransactionByIdResponse> ExecuteGetPartnerPAPayTransactionByIdAsync(this WechatTenpayGlobalClient client, Models.GetPartnerPAPayTransactionByIdRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -256,7 +256,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
.CreateFlurlRequest(request, HttpMethod.Get, "papay", "transactions", request.TransactionId)
.SetQueryParam("sub_mchid", request.SubMerchantId);
return await client.SendFlurlRequestAsJsonAsync<Models.GetPartnerPAPPayTransactionByIdResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.GetPartnerPAPayTransactionByIdResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -270,7 +270,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.ReversePartnerPAPPayTransactionResponse> ExecuteReversePartnerPAPPayTransactionAsync(this WechatTenpayGlobalClient client, Models.ReversePartnerPAPPayTransactionRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.ReversePartnerPAPayTransactionResponse> ExecuteReversePartnerPAPayTransactionAsync(this WechatTenpayGlobalClient client, Models.ReversePartnerPAPayTransactionRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -278,7 +278,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "papay", "transactions", "out-trade-no", request.OutTradeNumber, "reverse");
return await client.SendFlurlRequestAsJsonAsync<Models.ReversePartnerPAPPayTransactionResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.ReversePartnerPAPayTransactionResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/transactions 接口的请求。</para>
/// </summary>
public class CreatePAPPayTransactionRequest : WechatTenpayGlobalRequest
public class CreatePAPayTransactionRequest : WechatTenpayGlobalRequest
{
public static class Types
{

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/transactions 接口的响应。</para>
/// </summary>
public class CreatePAPPayTransactionResponse : GetPAPPayTransactionByOutTradeNumberResponse
public class CreatePAPayTransactionResponse : GetPAPayTransactionByOutTradeNumberResponse
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [GET] /papay/contracts/{contract_id} 接口的请求。</para>
/// </summary>
public class GetPAPPayContractByContractIdRequest : WechatTenpayGlobalRequest
public class GetPAPayContractByContractIdRequest : WechatTenpayGlobalRequest
{
/// <summary>
/// 获取或设置微信 AppId。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [GET] /papay/contracts/{contract_id} 接口的响应。</para>
/// </summary>
public class GetPAPPayContractByContractIdResponse : GetPAPPayContractByOutContractCodeResponse
public class GetPAPayContractByContractIdResponse : GetPAPayContractByOutContractCodeResponse
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [GET] /papay/contracts/out-contract-code/{out_contract_code} 接口的请求。</para>
/// </summary>
public class GetPAPPayContractByOutContractCodeRequest : WechatTenpayGlobalRequest
public class GetPAPayContractByOutContractCodeRequest : WechatTenpayGlobalRequest
{
/// <summary>
/// 获取或设置微信 AppId。

View File

@ -5,7 +5,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [GET] /papay/contracts/out-contract-code/{out_contract_code} 接口的响应。</para>
/// </summary>
public class GetPAPPayContractByOutContractCodeResponse : WechatTenpayGlobalResponse
public class GetPAPayContractByOutContractCodeResponse : WechatTenpayGlobalResponse
{
/// <summary>
/// 获取或设置微信商户号。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [GET] /papay/transactions/{transaction_id} 接口的请求。</para>
/// </summary>
public class GetPAPPayTransactionByIdRequest : WechatTenpayGlobalRequest
public class GetPAPayTransactionByIdRequest : WechatTenpayGlobalRequest
{
/// <summary>
/// 获取或设置微信支付订单号。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [GET] /papay/transactions/{transaction_id} 接口的响应。</para>
/// </summary>
public class GetPAPPayTransactionByIdResponse : GetPAPPayTransactionByOutTradeNumberResponse
public class GetPAPayTransactionByIdResponse : GetPAPayTransactionByOutTradeNumberResponse
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [GET] /papay/transactions/out-trade-no/{out_trade_no} 接口的请求。</para>
/// </summary>
public class GetPAPPayTransactionByOutTradeNumberRequest : WechatTenpayGlobalRequest
public class GetPAPayTransactionByOutTradeNumberRequest : WechatTenpayGlobalRequest
{
/// <summary>
/// 获取或设置商户订单号。

View File

@ -5,7 +5,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [GET] /papay/transactions/out-trade-no/{out_trade_no} 接口的响应。</para>
/// </summary>
public class GetPAPPayTransactionByOutTradeNumberResponse : WechatTenpayGlobalResponse
public class GetPAPayTransactionByOutTradeNumberResponse : WechatTenpayGlobalResponse
{
public static class Types
{

View File

@ -5,7 +5,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/app-pre-entrust-sign 接口的请求。</para>
/// </summary>
public class PresignPAPPayContractEntrustAppRequest : WechatTenpayGlobalRequest
public class PresignPAPayContractEntrustAppRequest : WechatTenpayGlobalRequest
{
/// <summary>
/// 获取或设置微信 AppId。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/app-pre-entrust-sign 接口的响应。</para>
/// </summary>
public class PresignPAPPayContractEntrustAppResponse : WechatTenpayGlobalResponse
public class PresignPAPayContractEntrustAppResponse : WechatTenpayGlobalResponse
{
/// <summary>
/// 获取或设置委托代扣签约会话 ID。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/h5-pre-entrust-sign 接口的请求。</para>
/// </summary>
public class PresignPAPPayContractEntrustH5Request : PresignPAPPayContractEntrustAppRequest
public class PresignPAPayContractEntrustH5Request : PresignPAPayContractEntrustAppRequest
{
/// <summary>
/// 获取或设置签约后跳转 AppId。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/h5-pre-entrust-sign 接口的响应。</para>
/// </summary>
public class PresignPAPPayContractEntrustH5Response : WechatTenpayGlobalResponse
public class PresignPAPayContractEntrustH5Response : WechatTenpayGlobalResponse
{
/// <summary>
/// 获取或设置委托代扣签约 URL。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/jsapi-pre-entrust-sign 接口的请求。</para>
/// </summary>
public class PresignPAPPayContractEntrustJsapiRequest : PresignPAPPayContractEntrustAppRequest
public class PresignPAPayContractEntrustJsapiRequest : PresignPAPayContractEntrustAppRequest
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/jsapi-pre-entrust-sign 接口的响应。</para>
/// </summary>
public class PresignPAPPayContractEntrustJsapiResponse : WechatTenpayGlobalResponse
public class PresignPAPayContractEntrustJsapiResponse : WechatTenpayGlobalResponse
{
/// <summary>
/// 获取或设置委托代扣签约 URL。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/miniprogram-pre-entrust-sign 接口的请求。</para>
/// </summary>
public class PresignPAPPayContractEntrustMiniProgramRequest : PresignPAPPayContractEntrustAppRequest
public class PresignPAPayContractEntrustMiniProgramRequest : PresignPAPayContractEntrustAppRequest
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/miniprogram-pre-entrust-sign 接口的响应。</para>
/// </summary>
public class PresignPAPPayContractEntrustMiniProgramResponse : WechatTenpayGlobalResponse
public class PresignPAPayContractEntrustMiniProgramResponse : WechatTenpayGlobalResponse
{
/// <summary>
/// 获取或设置委托代扣会话 ID。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/web-pre-entrust-sign 接口的请求。</para>
/// </summary>
public class PresignPAPPayContractEntrustWebRequest : PresignPAPPayContractEntrustAppRequest
public class PresignPAPayContractEntrustWebRequest : PresignPAPayContractEntrustAppRequest
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/web-pre-entrust-sign 接口的响应。</para>
/// </summary>
public class PresignPAPPayContractEntrustWebResponse : WechatTenpayGlobalResponse
public class PresignPAPayContractEntrustWebResponse : WechatTenpayGlobalResponse
{
/// <summary>
/// 获取或设置委托代扣签约 URL。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/transactions/out-trade-no/{out_trade_no}/reverse 接口的请求。</para>
/// </summary>
public class ReversePAPPayTransactionRequest : WechatTenpayGlobalRequest
public class ReversePAPayTransactionRequest : WechatTenpayGlobalRequest
{
/// <summary>
/// 获取或设置商户订单号。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/transactions/out-trade-no/{out_trade_no}/reverse 接口的响应。</para>
/// </summary>
public class ReversePAPPayTransactionResponse : WechatTenpayGlobalResponse
public class ReversePAPayTransactionResponse : WechatTenpayGlobalResponse
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/{contract_id}/terminate 接口的请求。</para>
/// </summary>
public class TerminatePAPPayContractRequest : WechatTenpayGlobalRequest
public class TerminatePAPayContractRequest : WechatTenpayGlobalRequest
{
/// <summary>
/// 获取或设置微信 AppId。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/{contract_id}/terminate 接口的响应。</para>
/// </summary>
public class TerminatePAPPayContractResponse : WechatTenpayGlobalResponse
public class TerminatePAPayContractResponse : WechatTenpayGlobalResponse
{
}
}

View File

@ -3,15 +3,15 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/transactions 接口的请求。</para>
/// </summary>
public class CreatePartnerPAPPayTransactionRequest : CreatePAPPayTransactionRequest
public class CreatePartnerPAPayTransactionRequest : CreatePAPayTransactionRequest
{
public static new class Types
{
public class Amount : CreatePAPPayTransactionRequest.Types.Amount
public class Amount : CreatePAPayTransactionRequest.Types.Amount
{
}
public class Scene : CreatePAPPayTransactionRequest.Types.Scene
public class Scene : CreatePAPayTransactionRequest.Types.Scene
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/transactions 接口的响应。</para>
/// </summary>
public class CreatePartnerPAPPayTransactionResponse : GetPartnerPAPPayTransactionByOutTradeNumberResponse
public class CreatePartnerPAPayTransactionResponse : GetPartnerPAPayTransactionByOutTradeNumberResponse
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [GET] /papay/contracts/{contract_id} 接口的请求。</para>
/// </summary>
public class GetPartnerPAPPayContractByContractIdRequest : GetPAPPayContractByContractIdRequest
public class GetPartnerPAPayContractByContractIdRequest : GetPAPayContractByContractIdRequest
{
/// <summary>
/// 获取或设置子商户号。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [GET] /papay/contracts/{contract_id} 接口的响应。</para>
/// </summary>
public class GetPartnerPAPPayContractByContractIdResponse : GetPAPPayContractByContractIdResponse
public class GetPartnerPAPayContractByContractIdResponse : GetPAPayContractByContractIdResponse
{
/// <summary>
/// <inheritdoc/>

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [GET] /papay/contracts/out-contract-code/{out_contract_code} 接口的请求。</para>
/// </summary>
public class GetPartnerPAPPayContractByOutContractCodeRequest : GetPAPPayContractByOutContractCodeRequest
public class GetPartnerPAPayContractByOutContractCodeRequest : GetPAPayContractByOutContractCodeRequest
{
/// <summary>
/// 获取或设置子商户号。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [GET] /papay/contracts/out-contract-code/{out_contract_code} 接口的响应。</para>
/// </summary>
public class GetPartnerPAPPayContractByOutContractCodeResponse : GetPAPPayContractByOutContractCodeResponse
public class GetPartnerPAPayContractByOutContractCodeResponse : GetPAPayContractByOutContractCodeResponse
{
/// <summary>
/// <inheritdoc/>

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [GET] /papay/transactions/{transaction_id} 接口的请求。</para>
/// </summary>
public class GetPartnerPAPPayTransactionByIdRequest : GetPAPPayTransactionByIdRequest
public class GetPartnerPAPayTransactionByIdRequest : GetPAPayTransactionByIdRequest
{
/// <summary>
/// 获取或设置子商户号。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [GET] /papay/transactions/{transaction_id} 接口的响应。</para>
/// </summary>
public class GetPartnerPAPPayTransactionByIdResponse : GetPartnerPAPPayTransactionByOutTradeNumberResponse
public class GetPartnerPAPayTransactionByIdResponse : GetPartnerPAPayTransactionByOutTradeNumberResponse
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [GET] /papay/transactions/out-trade-no/{out_trade_no} 接口的请求。</para>
/// </summary>
public class GetPartnerPAPPayTransactionByOutTradeNumberRequest : GetPAPPayTransactionByOutTradeNumberRequest
public class GetPartnerPAPayTransactionByOutTradeNumberRequest : GetPAPayTransactionByOutTradeNumberRequest
{
/// <summary>
/// 获取或设置子商户号。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [GET] /papay/transactions/out-trade-no/{out_trade_no} 接口的响应。</para>
/// </summary>
public class GetPartnerPAPPayTransactionByOutTradeNumberResponse : GetPAPPayTransactionByOutTradeNumberResponse
public class GetPartnerPAPayTransactionByOutTradeNumberResponse : GetPAPayTransactionByOutTradeNumberResponse
{
public static new class Types
{

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/app-pre-entrust-sign 接口的请求。</para>
/// </summary>
public class PresignPartnerPAPPayContractEntrustAppRequest : PresignPAPPayContractEntrustAppRequest
public class PresignPartnerPAPayContractEntrustAppRequest : PresignPAPayContractEntrustAppRequest
{
/// <summary>
/// <inheritdoc/>

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/app-pre-entrust-sign 接口的响应。</para>
/// </summary>
public class PresignPartnerPAPPayContractEntrustAppResponse : PresignPAPPayContractEntrustAppResponse
public class PresignPartnerPAPayContractEntrustAppResponse : PresignPAPayContractEntrustAppResponse
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/h5-pre-entrust-sign 接口的请求。</para>
/// </summary>
public class PresignPartnerPAPPayContractEntrustH5Request : PresignPAPPayContractEntrustH5Request
public class PresignPartnerPAPayContractEntrustH5Request : PresignPAPayContractEntrustH5Request
{
/// <summary>
/// <inheritdoc/>

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/h5-pre-entrust-sign 接口的响应。</para>
/// </summary>
public class PresignPartnerPAPPayContractEntrustH5Response : PresignPAPPayContractEntrustH5Response
public class PresignPartnerPAPayContractEntrustH5Response : PresignPAPayContractEntrustH5Response
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/jsapi-pre-entrust-sign 接口的请求。</para>
/// </summary>
public class PresignPartnerPAPPayContractEntrustJsapiRequest : PresignPAPPayContractEntrustJsapiRequest
public class PresignPartnerPAPayContractEntrustJsapiRequest : PresignPAPayContractEntrustJsapiRequest
{
/// <summary>
/// <inheritdoc/>

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/jsapi-pre-entrust-sign 接口的响应。</para>
/// </summary>
public class PresignPartnerPAPPayContractEntrustJsapiResponse : PresignPAPPayContractEntrustJsapiResponse
public class PresignPartnerPAPayContractEntrustJsapiResponse : PresignPAPayContractEntrustJsapiResponse
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/miniprogram-pre-entrust-sign 接口的请求。</para>
/// </summary>
public class PresignPartnerPAPPayContractEntrustMiniProgramRequest : PresignPAPPayContractEntrustMiniProgramRequest
public class PresignPartnerPAPayContractEntrustMiniProgramRequest : PresignPAPayContractEntrustMiniProgramRequest
{
/// <summary>
/// <inheritdoc/>

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/miniprogram-pre-entrust-sign 接口的响应。</para>
/// </summary>
public class PresignPartnerPAPPayContractEntrustMiniProgramResponse : PresignPAPPayContractEntrustMiniProgramResponse
public class PresignPartnerPAPayContractEntrustMiniProgramResponse : PresignPAPayContractEntrustMiniProgramResponse
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/web-pre-entrust-sign 接口的请求。</para>
/// </summary>
public class PresignPartnerPAPPayContractEntrustWebRequest : PresignPAPPayContractEntrustWebRequest
public class PresignPartnerPAPayContractEntrustWebRequest : PresignPAPayContractEntrustWebRequest
{
/// <summary>
/// <inheritdoc/>

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/web-pre-entrust-sign 接口的响应。</para>
/// </summary>
public class PresignPartnerPAPPayContractEntrustWebResponse : PresignPAPPayContractEntrustWebResponse
public class PresignPartnerPAPayContractEntrustWebResponse : PresignPAPayContractEntrustWebResponse
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/transactions/out-trade-no/{out_trade_no}/reverse 接口的请求。</para>
/// </summary>
public class ReversePartnerPAPPayTransactionRequest : ReversePAPPayTransactionRequest
public class ReversePartnerPAPayTransactionRequest : ReversePAPayTransactionRequest
{
/// <summary>
/// 获取或设置子商户号。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/transactions/out-trade-no/{out_trade_no}/reverse 接口的响应。</para>
/// </summary>
public class ReversePartnerPAPPayTransactionResponse : ReversePAPPayTransactionResponse
public class ReversePartnerPAPayTransactionResponse : ReversePAPayTransactionResponse
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/{contract_id}/terminate 接口的请求。</para>
/// </summary>
public class TerminatePartnerPAPPayContractRequest : TerminatePAPPayContractRequest
public class TerminatePartnerPAPayContractRequest : TerminatePAPayContractRequest
{
/// <summary>
/// <inheritdoc/>

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.ExtendedSDK.Global.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/{contract_id}/terminate 接口的响应。</para>
/// </summary>
public class TerminatePartnerPAPPayContractResponse : TerminatePAPPayContractResponse
public class TerminatePartnerPAPayContractResponse : TerminatePAPayContractResponse
{
}
}

View File

@ -712,7 +712,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
}
#endregion
#region CombinePAPPay
#region CombinePAPay
/// <summary>
/// <para>异步调用 [POST] /ecommerce/combine-papay/contracts/pre-entrust-sign 接口。</para>
/// <para>
@ -746,7 +746,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.GetEcommerceCombinePAPPayContractByOutContractCodeResponse> ExecuteGetEcommerceCombinePAPPayContractByOutContractCodeAsync(this WechatTenpayClient client, Models.GetEcommerceCombinePAPPayContractByOutContractCodeRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.GetEcommerceCombinePAPayContractByOutContractCodeResponse> ExecuteGetEcommerceCombinePAPayContractByOutContractCodeAsync(this WechatTenpayClient client, Models.GetEcommerceCombinePAPayContractByOutContractCodeRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -754,7 +754,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Get, "ecommerce", "combine-papay", "contracts", "plan-id", request.PlanId, "out-contract-code", request.OutContractCode);
return await client.SendFlurlRequestAsJsonAsync<Models.GetEcommerceCombinePAPPayContractByOutContractCodeResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.GetEcommerceCombinePAPayContractByOutContractCodeResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -768,7 +768,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.TerminateEcommerceCombinePAPPayContractResponse> ExecuteTerminateEcommerceCombinePAPPayContractAsync(this WechatTenpayClient client, Models.TerminateEcommerceCombinePAPPayContractRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.TerminateEcommerceCombinePAPayContractResponse> ExecuteTerminateEcommerceCombinePAPayContractAsync(this WechatTenpayClient client, Models.TerminateEcommerceCombinePAPayContractRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -776,7 +776,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "ecommerce", "combine-papay", "contracts", "plan-id", request.PlanId, "out-contract-code", request.OutContractCode, "terminate");
return await client.SendFlurlRequestAsJsonAsync<Models.TerminateEcommerceCombinePAPPayContractResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.TerminateEcommerceCombinePAPayContractResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -790,7 +790,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.CreateEcommerceCombinePAPPayTransactionResponse> ExecuteCreateEcommerceCombinePAPPayTransactionAsync(this WechatTenpayClient client, Models.CreateEcommerceCombinePAPPayTransactionRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.CreateEcommerceCombinePAPayTransactionResponse> ExecuteCreateEcommerceCombinePAPayTransactionAsync(this WechatTenpayClient client, Models.CreateEcommerceCombinePAPayTransactionRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -810,7 +810,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "ecommerce", "combine-papay", "transactions");
return await client.SendFlurlRequestAsJsonAsync<Models.CreateEcommerceCombinePAPPayTransactionResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.CreateEcommerceCombinePAPayTransactionResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -824,7 +824,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.ReverseEcommerceCombinePAPPayTransactionResponse> ExecuteReverseEcommerceCombinePAPPayTransactionAsync(this WechatTenpayClient client, Models.ReverseEcommerceCombinePAPPayTransactionRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.ReverseEcommerceCombinePAPayTransactionResponse> ExecuteReverseEcommerceCombinePAPayTransactionAsync(this WechatTenpayClient client, Models.ReverseEcommerceCombinePAPayTransactionRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -841,7 +841,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "ecommerce", "combine-papay", "transactions", request.CombineOutTradeNumber, "reverse");
return await client.SendFlurlRequestAsJsonAsync<Models.ReverseEcommerceCombinePAPPayTransactionResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.ReverseEcommerceCombinePAPayTransactionResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -855,7 +855,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.GetEcommerceCombinePAPPayTransactionByCombineOutTradeNumberResponse> ExecuteGetEcommerceCombinePAPPayTransactionByCombineOutTradeNumberAsync(this WechatTenpayClient client, Models.GetEcommerceCombinePAPPayTransactionByCombineOutTradeNumberRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.GetEcommerceCombinePAPayTransactionByCombineOutTradeNumberResponse> ExecuteGetEcommerceCombinePAPayTransactionByCombineOutTradeNumberAsync(this WechatTenpayClient client, Models.GetEcommerceCombinePAPayTransactionByCombineOutTradeNumberRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -863,7 +863,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Get, "ecommerce", "combine-papay", "transactions", request.CombineOutTradeNumber);
return await client.SendFlurlRequestAsJsonAsync<Models.GetEcommerceCombinePAPPayTransactionByCombineOutTradeNumberResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.GetEcommerceCombinePAPayTransactionByCombineOutTradeNumberResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
#endregion
}

View File

@ -6,7 +6,7 @@ using Flurl.Http;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
{
public static class WechatTenpayClientExecuteEducationPAPPayExtensions
public static class WechatTenpayClientExecuteEducationPAPayExtensions
{
/// <summary>
/// <para>异步调用 [POST] /edu-papay/contracts/presign 接口。</para>
@ -19,7 +19,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.PresignEducationPAPPayContractResponse> ExecutePresignEducationPAPPayContractAsync(this WechatTenpayClient client, Models.PresignEducationPAPPayContractRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.PresignEducationPAPayContractResponse> ExecutePresignEducationPAPayContractAsync(this WechatTenpayClient client, Models.PresignEducationPAPayContractRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -27,7 +27,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "edu-papay", "contracts", "presign");
return await client.SendFlurlRequestAsJsonAsync<Models.PresignEducationPAPPayContractResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.PresignEducationPAPayContractResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -41,7 +41,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.GetEducationPAPPayContractByContractIdResponse> ExecuteGetEducationPAPPayContractByContractIdAsync(this WechatTenpayClient client, Models.GetEducationPAPPayContractByContractIdRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.GetEducationPAPayContractByContractIdResponse> ExecuteGetEducationPAPayContractByContractIdAsync(this WechatTenpayClient client, Models.GetEducationPAPayContractByContractIdRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -50,7 +50,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
.CreateFlurlRequest(request, HttpMethod.Get, "edu-papay", "contracts", "id", request.ContractId)
.SetQueryParam("appid", request.AppId);
return await client.SendFlurlRequestAsJsonAsync<Models.GetEducationPAPPayContractByContractIdResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.GetEducationPAPayContractByContractIdResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -64,7 +64,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.QueryEducationPAPPayUserContractsResponse> ExecuteQueryEducationPAPPayUserContractsAsync(this WechatTenpayClient client, Models.QueryEducationPAPPayUserContractsRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.QueryEducationPAPayUserContractsResponse> ExecuteQueryEducationPAPayUserContractsAsync(this WechatTenpayClient client, Models.QueryEducationPAPayUserContractsRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -83,7 +83,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
if (request.Offset is not null)
flurlReq.SetQueryParam("offset", request.Offset.Value);
return await client.SendFlurlRequestAsJsonAsync<Models.QueryEducationPAPPayUserContractsResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.QueryEducationPAPayUserContractsResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -97,7 +97,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.TerminateEducationPAPPayContractResponse> ExecuteTerminateEducationPAPPayContractAsync(this WechatTenpayClient client, Models.TerminateEducationPAPPayContractRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.TerminateEducationPAPayContractResponse> ExecuteTerminateEducationPAPayContractAsync(this WechatTenpayClient client, Models.TerminateEducationPAPayContractRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -105,7 +105,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Delete, "edu-papay", "contracts", request.ContractId);
return await client.SendFlurlRequestAsJsonAsync<Models.TerminateEducationPAPPayContractResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.TerminateEducationPAPayContractResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -119,7 +119,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.SendEducationPAPPayContractNotificationResponse> ExecuteSendEducationPAPPayContractNotificationAsync(this WechatTenpayClient client, Models.SendEducationPAPPayContractNotificationRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.SendEducationPAPayContractNotificationResponse> ExecuteSendEducationPAPayContractNotificationAsync(this WechatTenpayClient client, Models.SendEducationPAPayContractNotificationRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -127,7 +127,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "edu-papay", "user-notifications", request.ContractId, "send");
return await client.SendFlurlRequestAsJsonAsync<Models.SendEducationPAPPayContractNotificationResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.SendEducationPAPayContractNotificationResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -141,7 +141,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.CreateEducationPAPPayTransactionResponse> ExecuteCreateEducationPAPPayTransactionAsync(this WechatTenpayClient client, Models.CreateEducationPAPPayTransactionRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.CreateEducationPAPayTransactionResponse> ExecuteCreateEducationPAPayTransactionAsync(this WechatTenpayClient client, Models.CreateEducationPAPayTransactionRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -149,7 +149,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "edu-papay", "transactions");
return await client.SendFlurlRequestAsJsonAsync<Models.CreateEducationPAPPayTransactionResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.CreateEducationPAPayTransactionResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -163,7 +163,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.GetEducationPAPPayTransactionByOutTradeNumberResponse> ExecuteGetEducationPAPPayTransactionByOutTradeNumberAsync(this WechatTenpayClient client, Models.GetEducationPAPPayTransactionByOutTradeNumberRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.GetEducationPAPayTransactionByOutTradeNumberResponse> ExecuteGetEducationPAPayTransactionByOutTradeNumberAsync(this WechatTenpayClient client, Models.GetEducationPAPayTransactionByOutTradeNumberRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -171,7 +171,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Get, "edu-papay", "transactions", "out-trade-no", request.OutTradeNumber);
return await client.SendFlurlRequestAsJsonAsync<Models.GetEducationPAPPayTransactionByOutTradeNumberResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.GetEducationPAPayTransactionByOutTradeNumberResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
/// <summary>
@ -185,7 +185,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.GetEducationPAPPayTransactionByIdResponse> ExecuteGetEducationPAPPayTransactionByIdAsync(this WechatTenpayClient client, Models.GetEducationPAPPayTransactionByIdRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.GetEducationPAPayTransactionByIdResponse> ExecuteGetEducationPAPayTransactionByIdAsync(this WechatTenpayClient client, Models.GetEducationPAPayTransactionByIdRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -193,7 +193,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Get, "edu-papay", "transactions", "id", request.TransactionId);
return await client.SendFlurlRequestAsJsonAsync<Models.GetEducationPAPPayTransactionByIdResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.GetEducationPAPayTransactionByIdResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
}
}

View File

@ -6,7 +6,7 @@ using Flurl.Http;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
{
public static class WechatTenpayClientExecutePAPExtensions
public static class WechatTenpayClientExecutePAPayExtensions
{
/// <summary>
/// <para>异步调用 [POST] /papay/contracts/{contract_id}/notify 接口。</para>
@ -19,7 +19,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.NotifyPAPPayContractResponse> ExecuteNotifyPAPPayContractAsync(this WechatTenpayClient client, Models.NotifyPAPPayContractRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.NotifyPAPayContractResponse> ExecuteNotifyPAPayContractAsync(this WechatTenpayClient client, Models.NotifyPAPayContractRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -30,7 +30,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "papay", "contracts", request.ContractId, "notify");
return await client.SendFlurlRequestAsJsonAsync<Models.NotifyPAPPayContractResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.NotifyPAPayContractResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
}
}

View File

@ -6,7 +6,7 @@ using Flurl.Http;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
{
public static class WechatTenpayClientExecutePartnerPAPExtensions
public static class WechatTenpayClientExecutePartnerPAPayExtensions
{
/// <summary>
/// <para>异步调用 [POST] /partner-papay/contracts/{contract_id}/notify 接口。</para>
@ -19,7 +19,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.NotifyPartnerPAPPayContractResponse> ExecuteNotifyPartnerPAPPayContractAsync(this WechatTenpayClient client, Models.NotifyPartnerPAPPayContractRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.NotifyPartnerPAPayContractResponse> ExecuteNotifyPartnerPAPayContractAsync(this WechatTenpayClient client, Models.NotifyPartnerPAPayContractRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@ -30,7 +30,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
IFlurlRequest flurlReq = client
.CreateFlurlRequest(request, HttpMethod.Post, "partner-papay", "contracts", request.ContractId, "notify");
return await client.SendFlurlRequestAsJsonAsync<Models.NotifyPartnerPAPPayContractResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
return await client.SendFlurlRequestAsJsonAsync<Models.NotifyPartnerPAPayContractResponse>(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [POST] /edu-papay/transactions 接口的请求。</para>
/// </summary>
public class CreateEducationPAPPayTransactionRequest : WechatTenpayRequest
public class CreateEducationPAPayTransactionRequest : WechatTenpayRequest
{
public static class Types
{

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [POST] /edu-papay/transactions 接口的响应。</para>
/// </summary>
public class CreateEducationPAPPayTransactionResponse : WechatTenpayResponse
public class CreateEducationPAPayTransactionResponse : WechatTenpayResponse
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [GET] /edu-papay/contracts/id/{contract_id} 接口的请求。</para>
/// </summary>
public class GetEducationPAPPayContractByContractIdRequest : WechatTenpayRequest
public class GetEducationPAPayContractByContractIdRequest : WechatTenpayRequest
{
/// <summary>
/// 获取或设置微信 AppId。

View File

@ -5,7 +5,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [GET] /edu-papay/contracts/id/{contract_id} 接口的响应。</para>
/// </summary>
public class GetEducationPAPPayContractByContractIdResponse : WechatTenpayResponse
public class GetEducationPAPayContractByContractIdResponse : WechatTenpayResponse
{
public static class Types
{

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [GET] /edu-papay/transactions/id/{transaction_id} 接口的请求。</para>
/// </summary>
public class GetEducationPAPPayTransactionByIdRequest : WechatTenpayRequest
public class GetEducationPAPayTransactionByIdRequest : WechatTenpayRequest
{
/// <summary>
/// 获取或设置微信支付订单号。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [GET] /edu-papay/transactions/id/{transaction_id} 接口的响应。</para>
/// </summary>
public class GetEducationPAPPayTransactionByIdResponse : GetEducationPAPPayTransactionByOutTradeNumberResponse
public class GetEducationPAPayTransactionByIdResponse : GetEducationPAPayTransactionByOutTradeNumberResponse
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [GET] /edu-papay/transactions/out-trade-no/{out_trade_no} 接口的请求。</para>
/// </summary>
public class GetEducationPAPPayTransactionByOutTradeNumberRequest : WechatTenpayRequest
public class GetEducationPAPayTransactionByOutTradeNumberRequest : WechatTenpayRequest
{
/// <summary>
/// 获取或设置商户订单号。

View File

@ -5,7 +5,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [GET] /edu-papay/transactions/out-trade-no/{out_trade_no} 接口的响应。</para>
/// </summary>
public class GetEducationPAPPayTransactionByOutTradeNumberResponse : WechatTenpayResponse
public class GetEducationPAPayTransactionByOutTradeNumberResponse : WechatTenpayResponse
{
public static class Types
{

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [POST] /edu-papay/contracts/presign 接口的请求。</para>
/// </summary>
public class PresignEducationPAPPayContractRequest : WechatTenpayRequest
public class PresignEducationPAPayContractRequest : WechatTenpayRequest
{
/// <summary>
/// 获取或设置微信 AppId。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [POST] /edu-papay/contracts/presign 接口的响应。</para>
/// </summary>
public class PresignEducationPAPPayContractResponse : WechatTenpayResponse
public class PresignEducationPAPayContractResponse : WechatTenpayResponse
{
/// <summary>
/// 获取或设置预签约号。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [GET] /edu-papay/user/{openid}/contracts 接口的请求。</para>
/// </summary>
public class QueryEducationPAPPayUserContractsRequest : WechatTenpayRequest
public class QueryEducationPAPayUserContractsRequest : WechatTenpayRequest
{
/// <summary>
/// 获取或设置微信 AppId。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [GET] /edu-papay/user/{openid}/contracts 接口的响应。</para>
/// </summary>
public class QueryEducationPAPPayUserContractsResponse : WechatTenpayResponse
public class QueryEducationPAPayUserContractsResponse : WechatTenpayResponse
{
public static class Types
{
@ -11,7 +11,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{
public static class Types
{
public class Contract : GetEducationPAPPayContractByContractIdResponse.Types.Contract
public class Contract : GetEducationPAPayContractByContractIdResponse.Types.Contract
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [POST] /edu-papay/user-notifications/{contract_id}/send 接口的请求。</para>
/// </summary>
public class SendEducationPAPPayContractNotificationRequest : WechatTenpayRequest
public class SendEducationPAPayContractNotificationRequest : WechatTenpayRequest
{
/// <summary>
/// 获取或设置微信 AppId。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [POST] /edu-papay/user-notifications/{contract_id}/send 接口的响应。</para>
/// </summary>
public class SendEducationPAPPayContractNotificationResponse : WechatTenpayResponse
public class SendEducationPAPayContractNotificationResponse : WechatTenpayResponse
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [DELETE] /edu-papay/contracts/{contract_id} 接口的请求。</para>
/// </summary>
public class TerminateEducationPAPPayContractRequest : WechatTenpayRequest
public class TerminateEducationPAPayContractRequest : WechatTenpayRequest
{
/// <summary>
/// 获取或设置签约协议号。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [DELETE] /edu-papay/contracts/{contract_id} 接口的响应。</para>
/// </summary>
public class TerminateEducationPAPPayContractResponse : WechatTenpayResponse
public class TerminateEducationPAPayContractResponse : WechatTenpayResponse
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/{contract_id}/notify 接口的请求。</para>
/// </summary>
public class NotifyPAPPayContractRequest : WechatTenpayRequest
public class NotifyPAPayContractRequest : WechatTenpayRequest
{
public static class Types
{

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [POST] /papay/contracts/{contract_id}/notify 接口的响应。</para>
/// </summary>
public class NotifyPAPPayContractResponse : WechatTenpayResponse
public class NotifyPAPayContractResponse : WechatTenpayResponse
{
}
}

View File

@ -5,7 +5,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [POST] /ecommerce/combine-papay/transactions 接口的请求。</para>
/// </summary>
public class CreateEcommerceCombinePAPPayTransactionRequest : WechatTenpayRequest
public class CreateEcommerceCombinePAPayTransactionRequest : WechatTenpayRequest
{
public static class Types
{

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [POST] /ecommerce/combine-papay/transactions 接口的响应。</para>
/// </summary>
public class CreateEcommerceCombinePAPPayTransactionResponse : GetEcommerceCombinePAPPayTransactionByCombineOutTradeNumberResponse
public class CreateEcommerceCombinePAPayTransactionResponse : GetEcommerceCombinePAPayTransactionByCombineOutTradeNumberResponse
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [GET] /ecommerce/combine-papay/contracts/plan-id/{plan_id}/out-contract-code/{out_contract_code} 接口的请求。</para>
/// </summary>
public class GetEcommerceCombinePAPPayContractByOutContractCodeRequest : WechatTenpayRequest
public class GetEcommerceCombinePAPayContractByOutContractCodeRequest : WechatTenpayRequest
{
/// <summary>
/// 获取或设置模板 ID。

View File

@ -5,7 +5,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [GET] /ecommerce/combine-papay/contracts/plan-id/{plan_id}/out-contract-code/{out_contract_code} 接口的响应。</para>
/// </summary>
public class GetEcommerceCombinePAPPayContractByOutContractCodeResponse : WechatTenpayResponse
public class GetEcommerceCombinePAPayContractByOutContractCodeResponse : WechatTenpayResponse
{
public static class Types
{

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [GET] /ecommerce/combine-papay/transactions/{combine_out_trade_no} 接口的请求。</para>
/// </summary>
public class GetEcommerceCombinePAPPayTransactionByCombineOutTradeNumberRequest : WechatTenpayRequest
public class GetEcommerceCombinePAPayTransactionByCombineOutTradeNumberRequest : WechatTenpayRequest
{
/// <summary>
/// 获取或设置合单商户订单号。

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [GET] /ecommerce/combine-papay/transactions/{combine_out_trade_no} 接口的响应。</para>
/// </summary>
public class GetEcommerceCombinePAPPayTransactionByCombineOutTradeNumberResponse : WechatTenpayResponse
public class GetEcommerceCombinePAPayTransactionByCombineOutTradeNumberResponse : WechatTenpayResponse
{
public static class Types
{

View File

@ -5,7 +5,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [POST] /ecommerce/combine-papay/transactions/{combine_out_trade_no}/reverse 接口的请求。</para>
/// </summary>
public class ReverseEcommerceCombinePAPPayTransactionRequest : WechatTenpayRequest
public class ReverseEcommerceCombinePAPayTransactionRequest : WechatTenpayRequest
{
public static class Types
{

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [POST] /ecommerce/combine-papay/transactions/{combine_out_trade_no}/reverse 接口的响应。</para>
/// </summary>
public class ReverseEcommerceCombinePAPPayTransactionResponse : WechatTenpayResponse
public class ReverseEcommerceCombinePAPayTransactionResponse : WechatTenpayResponse
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [POST] /ecommerce/combine-papay/contracts/plan-id/{plan_id}/out-contract-code/{out_contract_code}/terminate 接口的请求。</para>
/// </summary>
public class TerminateEcommerceCombinePAPPayContractRequest : WechatTenpayRequest
public class TerminateEcommerceCombinePAPayContractRequest : WechatTenpayRequest
{
/// <summary>
/// 获取或设置模板 ID。

View File

@ -5,7 +5,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [POST] /ecommerce/combine-papay/contracts/plan-id/{plan_id}/out-contract-code/{out_contract_code}/terminate 接口的响应。</para>
/// </summary>
public class TerminateEcommerceCombinePAPPayContractResponse : WechatTenpayResponse
public class TerminateEcommerceCombinePAPayContractResponse : WechatTenpayResponse
{
/// <summary>
/// 获取或设置微信商户号。

View File

@ -9,7 +9,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{
public static class Types
{
public class Amount : CreateEducationPAPPayTransactionRequest.Types.Amount
public class Amount : CreateEducationPAPayTransactionRequest.Types.Amount
{
}
@ -39,7 +39,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
public string SceneType { get; set; } = string.Empty;
}
public class Device : CreateEducationPAPPayTransactionRequest.Types.Device
public class Device : CreateEducationPAPayTransactionRequest.Types.Device
{
}

View File

@ -9,7 +9,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{
public static class Types
{
public class Payer : GetEducationPAPPayTransactionByOutTradeNumberResponse.Types.Payer
public class Payer : GetEducationPAPayTransactionByOutTradeNumberResponse.Types.Payer
{
/// <summary>
/// 获取或设置用户在子商户下唯一标识。
@ -19,15 +19,15 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
public string? SubOpenId { get; set; }
}
public class Amount : GetEducationPAPPayTransactionByOutTradeNumberResponse.Types.Amount
public class Amount : GetEducationPAPayTransactionByOutTradeNumberResponse.Types.Amount
{
}
public class Device : GetEducationPAPPayTransactionByOutTradeNumberResponse.Types.Device
public class Device : GetEducationPAPayTransactionByOutTradeNumberResponse.Types.Device
{
}
public class Promotion : GetEducationPAPPayTransactionByOutTradeNumberResponse.Types.Promotion
public class Promotion : GetEducationPAPayTransactionByOutTradeNumberResponse.Types.Promotion
{
}
}

View File

@ -3,11 +3,11 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [POST] /partner-papay/contracts/{contract_id}/notify 接口的请求。</para>
/// </summary>
public class NotifyPartnerPAPPayContractRequest : WechatTenpayRequest
public class NotifyPartnerPAPayContractRequest : WechatTenpayRequest
{
public static class Types
{
public class Amount : NotifyPAPPayContractRequest.Types.Amount
public class Amount : NotifyPAPayContractRequest.Types.Amount
{
}
}

View File

@ -3,7 +3,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [POST] /partner-papay/contracts/{contract_id}/notify 接口的响应。</para>
/// </summary>
public class NotifyPartnerPAPPayContractResponse : WechatTenpayResponse
public class NotifyPartnerPAPayContractResponse : WechatTenpayResponse
{
}
}

Some files were not shown because too many files have changed in this diff Show More