public GoogleCheckoutGateway(GoogleCheckoutConfiguration configuration, IGoogleCheckoutRequestBuilder requestBuilder) { if (configuration == null) throw new ArgumentNullException("configuration"); if (requestBuilder == null) throw new ArgumentNullException("requestBuilder"); _configuration = configuration; _requestBuilder = requestBuilder; }
public GoogleCheckoutRequestBuilder(GoogleCheckoutConfiguration configuration) { if (configuration == null) { throw new ArgumentNullException("configuration"); } _configuration = configuration; }
public GoogleCheckoutGateway(GoogleCheckoutConfiguration configuration, IGoogleCheckoutRequestBuilder requestBuilder) { if (configuration == null) { throw new ArgumentNullException("configuration"); } if (requestBuilder == null) { throw new ArgumentNullException("requestBuilder"); } _configuration = configuration; _requestBuilder = requestBuilder; }
public GoogleCheckoutGateway(GoogleCheckoutConfiguration configuration) : this(configuration, new GoogleCheckoutRequestBuilder(configuration)) { }
public GoogleCheckoutRequestBuilder(GoogleCheckoutConfiguration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); _configuration = configuration; }