-
-
Notifications
You must be signed in to change notification settings - Fork 489
/
Copy pathAlipayClientOptions.cs
52 lines (43 loc) · 1.18 KB
/
AlipayClientOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
namespace Essensoft.Paylinks.Alipay.Client;
/// <summary>
/// Alipay 客户端选项
/// </summary>
public class AlipayClientOptions
{
/// <summary>
/// 网关地址: https://openapi.alipay.com
/// </summary>
public string ServerUrl { get; set; }
/// <summary>
/// 应用Id
/// </summary>
public string AppId { get; set; }
/// <summary>
/// 应用私钥(PKCS#1)
/// </summary>
public string AppPrivateKey { get; set; }
/// <summary>
/// 应用证书序列号
/// </summary>
public string? AppCertSN { get; set; }
/// <summary>
/// 支付宝公钥
/// </summary>
public string AlipayPublicKey { get; set; }
/// <summary>
/// 支付宝证书序列号
/// </summary>
public string? AlipayCertSN { get; set; }
/// <summary>
/// 支付宝根证书序列号
/// </summary>
public string? AlipayRootCertSN { get; set; }
/// <summary>
/// 敏感信息对称加密算法类型,推荐:AES
/// </summary>
public string? EncryptType { get; set; }
/// <summary>
/// 敏感信息对称加密算法密钥
/// </summary>
public string? EncryptKey { get; set; }
}