using Tea; namespace Alipay.EasySDK.Kernel { /// /// 客户端配置参数模型 /// public class Config : TeaModel { /// /// 通信协议,通常填写https /// [NameInMap("protocol")] [Validation(Required = true)] public string Protocol { get; set; } = "https"; /// /// 网关域名 /// 线上为:openapi.alipay.com /// 沙箱为:openapi.alipaydev.com /// [NameInMap("gatewayHost")] [Validation(Required = true)] public string GatewayHost { get; set; } = "openapi.alipay.com"; /// /// AppId /// [NameInMap("appId")] [Validation(Required = true)] public string AppId { get; set; } /// /// 签名类型,Alipay Easy SDK只推荐使用RSA2,估此处固定填写RSA2 /// [NameInMap("signType")] [Validation(Required = true)] public string SignType { get; set; } = "RSA2"; /// /// 支付宝公钥 /// [NameInMap("alipayPublicKey")] [Validation(Required = true)] public string AlipayPublicKey { get; set; } /// /// 应用私钥 /// [NameInMap("merchantPrivateKey")] [Validation(Required = true)] public string MerchantPrivateKey { get; set; } /// /// 应用公钥证书文件路径 /// [NameInMap("merchantCertPath")] [Validation(Required = true)] public string MerchantCertPath { get; set; } /// /// 支付宝公钥证书文件路径 /// [NameInMap("alipayCertPath")] [Validation(Required = true)] public string AlipayCertPath { get; set; } /// /// 支付宝根证书文件路径 /// [NameInMap("alipayRootCertPath")] [Validation(Required = true)] public string AlipayRootCertPath { get; set; } /// /// 异步通知回调地址(可选) /// [NameInMap("notifyUrl")] [Validation(Required = true)] public string NotifyUrl { get; set; } /// /// AES密钥(可选) /// [NameInMap("encryptKey")] [Validation(Required = true)] public string EncryptKey { get; set; } /// /// 代理地址(可选)例如:http://127.0.0.1:8080 /// [NameInMap("httpProxy")] [Validation(Required = true)] public string HttpProxy { get; set; } /// /// 忽略证书校验(可选) /// [NameInMap("ignoreSSL")] [Validation(Required = true)] public string IgnoreSSL { get; set; } } }