Esempio n. 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;
 }
Esempio n. 2
0
 public GoogleCheckoutRequestBuilder(GoogleCheckoutConfiguration configuration)
 {
     if (configuration == null)
     {
         throw new ArgumentNullException("configuration");
     }
     _configuration = configuration;
 }
Esempio n. 3
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;
 }
Esempio n. 4
0
 public GoogleCheckoutGateway(GoogleCheckoutConfiguration configuration)
     : this(configuration, new GoogleCheckoutRequestBuilder(configuration))
 {
 }
 public GoogleCheckoutRequestBuilder(GoogleCheckoutConfiguration configuration)
 {
     if (configuration == null) throw new ArgumentNullException("configuration");
     _configuration = configuration;
 }
Esempio n. 6
0
 public GoogleCheckoutGateway(GoogleCheckoutConfiguration configuration)
     : this(configuration, new GoogleCheckoutRequestBuilder(configuration))
 {
 }