コード例 #1
0
 public GoogleCheckoutGateway(GoogleCheckoutConfiguration configuration, IGoogleCheckoutRequestBuilder requestBuilder)
 {
     if (configuration == null) throw new ArgumentNullException("configuration");
     if (requestBuilder == null) throw new ArgumentNullException("requestBuilder");
     _configuration = configuration;
     _requestBuilder = requestBuilder;
 }
コード例 #2
0
 public GoogleCheckoutRequestBuilder(GoogleCheckoutConfiguration configuration)
 {
     if (configuration == null)
     {
         throw new ArgumentNullException("configuration");
     }
     _configuration = configuration;
 }
コード例 #3
0
ファイル: GoogleCheckoutGateway.cs プロジェクト: elacy/Moolah
 public GoogleCheckoutGateway(GoogleCheckoutConfiguration configuration, IGoogleCheckoutRequestBuilder requestBuilder)
 {
     if (configuration == null)
     {
         throw new ArgumentNullException("configuration");
     }
     if (requestBuilder == null)
     {
         throw new ArgumentNullException("requestBuilder");
     }
     _configuration  = configuration;
     _requestBuilder = requestBuilder;
 }
コード例 #4
0
ファイル: GoogleCheckoutGateway.cs プロジェクト: elacy/Moolah
 public GoogleCheckoutGateway(GoogleCheckoutConfiguration configuration)
     : this(configuration, new GoogleCheckoutRequestBuilder(configuration))
 {
 }
コード例 #5
0
 public GoogleCheckoutRequestBuilder(GoogleCheckoutConfiguration configuration)
 {
     if (configuration == null) throw new ArgumentNullException("configuration");
     _configuration = configuration;
 }
コード例 #6
0
 public GoogleCheckoutGateway(GoogleCheckoutConfiguration configuration)
     : this(configuration, new GoogleCheckoutRequestBuilder(configuration))
 {
 }