Esempio n. 1
0
 public WeChatPaymentUnifyOrderInputFactory(
     IOptionsMonitor <WeChatPaymentOptions> paymentOptions,
     IOptionsMonitor <MiniProgramAuthenticationOptions> authOptions,
     WeChatPaymentSecuret securet)
 {
     this.paymentOptions = paymentOptions.CurrentValue;
     this.authOptions    = authOptions.CurrentValue;
     this.securet        = securet;
 }
Esempio n. 2
0
 public WeChatPaymentService(
     IOptionsMonitor <WeChatPaymentOptions> paymentOptions,
     IOptionsMonitor <MiniProgramAuthenticationOptions> authOptions,
     WeChatPaymentUnifyOrderResultFactory weChatPaymentUnifyOrderResultFactory,
     IHttpClientFactory clientFactory,
     WeChatPaymentSecuret securet)
 {
     this.paymentOptions = paymentOptions.CurrentValue;
     this.authOptions    = authOptions.CurrentValue;
     this.weChatPaymentUnifyOrderResultFactory = weChatPaymentUnifyOrderResultFactory;
     this.clientFactory = clientFactory;
     this.securet       = securet;
 }