/// <summary>
 /// 验证
 /// </summary>
 /// <param name="config">微信支付配置</param>
 /// <param name="param">支付参数</param>
 protected void Validate(WechatpayConfig config, PayParam param)
 {
     config.CheckNotNull(nameof(config));
     param.CheckNotNull(nameof(param));
     config.Validate();
     param.Validate();
     ValidateParam(param);
 }
Esempio n. 2
0
 /// <summary>
 /// 验证
 /// </summary>
 protected void Validate(WechatpayConfig config, WechatRefundRequest param)
 {
     config.CheckNull(nameof(config));
     param.CheckNull(nameof(param));
     config.Validate();
     param.Validate();
     ValidateConfig(config);
     ValidateParam(param);
 }