mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-16 16:50:43 +08:00
25 lines
1003 B
C#
25 lines
1003 B
C#
using System;
|
|
|
|
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
|
|
{
|
|
/// <summary>
|
|
/// 表示微信支付 API 请求的基类。
|
|
/// </summary>
|
|
public abstract class WechatTenpayRequest : IWechatRequest
|
|
{
|
|
/// <summary>
|
|
/// 获取或设置请求超时时间(单位:毫秒)。如果不指定将使用构造 <see cref="WechatTenpayClient"/> 时的 <see cref="WechatTenpayClientOptions.Timeout"/> 参数,这在需要指定特定耗时请求(比如上传或下载文件)的超时时间时很有用。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonIgnore]
|
|
[System.Text.Json.Serialization.JsonIgnore]
|
|
public virtual int? Timeout { get; set; }
|
|
|
|
/// <summary>
|
|
/// 获取或设置微信请求使用的微信支付平台证书序列号。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonIgnore]
|
|
[System.Text.Json.Serialization.JsonIgnore]
|
|
public virtual string? WechatpayCertSerialNumber { get; set; }
|
|
}
|
|
}
|