namespace SKIT.FlurlHttpClient.Wechat.Api
{
///
/// 一个用于构造 时使用的配置项。
///
public class WechatApiClientOptions
{
///
/// 获取或设置请求超时时间(单位:毫秒)。
/// 默认值:30000
///
public int Timeout { get; set; } = 30 * 1000;
///
/// 获取或设置微信 API 入口点。
/// 默认值:
///
public string Endpoint { get; set; } = WechatApiEndpoints.DEFAULT;
///
/// 获取或设置微信 AppId。
///
public string AppId { get; set; } = default!;
///
/// 获取或设置微信 AppSecret。
///
public string AppSecret { get; set; } = default!;
///
/// 获取或设置微信服务器推送的 EncodingAESKey。
///
public string? PushEncodingAESKey { get; set; }
///
/// 获取或设置微信服务器推送的 Token。
///
public string? PushToken { get; set; }
///
/// 获取或设置即时配送公司帐号 AppKey(用于小程序即使配送相关接口)。
///
public string? ImmeDeliveryAppKey { get; set; }
///
/// 获取或设置即时配送公司帐号 AppSecret(用于小程序即使配送相关接口)。
///
public string? ImmeDeliveryAppSecret { get; set; }
///
/// 获取或设置米大师平台 OfferId(用于小游戏虚拟支付 1.0 相关接口)。
///
public string? MidasOfferId { get; set; }
///
/// 获取或设置米大师平台 AppKey(用于小游戏虚拟支付 1.0 相关接口)。
///
public string? MidasAppKey { get; set; }
///
/// 获取或设置米大师平台 OfferId(用于小游戏虚拟支付 2.0 相关接口)。
///
public string? MidasOfferIdV2 { get; set; }
///
/// 获取或设置米大师平台 AppKey(用于小游戏虚拟支付 2.0 相关接口)。
///
public string? MidasAppKeyV2 { get; set; }
}
}