/// <summary> /// TODO: Make internal and visible to Moolah.Specs /// </summary> public DataCashMoToGateway( DataCashConfiguration configuration, IHttpClient httpClient, IDataCashPaymentRequestBuilder requestBuilder, IDataCashResponseParser responseParser) { if (configuration == null) { throw new ArgumentNullException("configuration"); } if (httpClient == null) { throw new ArgumentNullException("httpClient"); } if (requestBuilder == null) { throw new ArgumentNullException("requestBuilder"); } if (responseParser == null) { throw new ArgumentNullException("responseParser"); } _configuration = configuration; _httpClient = httpClient; _paymentRequestBuilder = requestBuilder; _responseParser = responseParser; }
public DataCashRequestBuilderBase(DataCashConfiguration configuration) { if (configuration == null) { throw new ArgumentNullException("configuration"); } _configuration = configuration; }
public CancelGateway(DataCashConfiguration configuration, IHttpClient httpClient, IDataCashCancelTransactionRequestBuilder requestBuilder, ICancelTransactionResponseParser responseParser) { if (configuration == null) throw new ArgumentNullException("configuration"); if (httpClient == null) throw new ArgumentNullException("httpClient"); if (responseParser == null) throw new ArgumentNullException("responseParser"); if (requestBuilder == null) throw new ArgumentNullException("requestBuilder"); _configuration = configuration; _httpClient = httpClient; _requestBuilder = requestBuilder; _responseParser = responseParser; }
/// <summary> /// TODO: Make internal and visible to Moolah.Specs /// </summary> public DataCashMoToGateway( DataCashConfiguration configuration, IHttpClient httpClient, IDataCashPaymentRequestBuilder requestBuilder, IDataCashResponseParser responseParser) { if (configuration == null) throw new ArgumentNullException("configuration"); if (httpClient == null) throw new ArgumentNullException("httpClient"); if (requestBuilder == null) throw new ArgumentNullException("requestBuilder"); if (responseParser == null) throw new ArgumentNullException("responseParser"); _configuration = configuration; _httpClient = httpClient; _paymentRequestBuilder = requestBuilder; _responseParser = responseParser; }
/// <summary> /// TODO: Make internal and visible to Moolah.Specs /// </summary> public DataCashRecurringTxnGateway( DataCashConfiguration configuration, IHttpClient httpClient, IDataCashRecurringTransactionBuilder requestBuilder, IDataCashRecurringPaymentResponseParser responseParser, IRecurringRefundGateway refundGateway, ICancelGateway cancelGateway) { if (configuration == null) { throw new ArgumentNullException("configuration"); } if (httpClient == null) { throw new ArgumentNullException("httpClient"); } if (requestBuilder == null) { throw new ArgumentNullException("requestBuilder"); } if (responseParser == null) { throw new ArgumentNullException("responseParser"); } if (refundGateway == null) { throw new ArgumentNullException("refundGateway"); } if (cancelGateway == null) { throw new ArgumentNullException("cancelGateway"); } _configuration = configuration; _httpClient = httpClient; _paymentRequestBuilder = requestBuilder; _responseParser = responseParser; _refundGateway = refundGateway; _cancelGateway = cancelGateway; }
public RefundGateway(DataCashConfiguration configuration, IHttpClient httpClient, IDataCashRefundTransactionRequestBuilder refundRequestBuilder, IRefundTransactionResponseParser refundResponseParser) { if (configuration == null) { throw new ArgumentNullException("configuration"); } if (httpClient == null) { throw new ArgumentNullException("httpClient"); } if (refundResponseParser == null) { throw new ArgumentNullException("refundResponseParser"); } if (refundRequestBuilder == null) { throw new ArgumentNullException("refundResponseParser"); } _configuration = configuration; _httpClient = httpClient; _refundRequestBuilder = refundRequestBuilder; _refundResponseParser = refundResponseParser; }
public RefundGateway(DataCashConfiguration configuration) : this(configuration, new HttpClient(), new RefundTransactionRequestBuilder(configuration), new RefundTransactionResponseParser()) { }
public RefundTransactionRequestBuilder(DataCashConfiguration configuration) : base(configuration) { }
public CancelGateway(DataCashConfiguration configuration) : this(configuration, new HttpClient(), new CancelTransactionRequestBuilder(configuration), new CancelTransactionResponseParser()) { }
public DataCashMoToGateway(DataCashConfiguration configuration) : this(configuration, new HttpClient(), new DataCashMoToRequestBuilder(configuration), new DataCashResponseParser(), new RefundGateway(configuration)) { }
public DataCashRecurringTxnGateway(DataCashConfiguration configuration) : this(configuration, new HttpClient(), new DataCashRecurringTransactionBuilder(configuration), new DataCashRecurringPaymentResponseParser(new DataCashResponseParser()), new DataCashRecurringRefundGateway(configuration), new CancelGateway(configuration)) { }
public DataCashMoToRequestBuilder(DataCashConfiguration configuration) : base(configuration) { }
public DataCashRequestBuilderBase(DataCashConfiguration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); _configuration = configuration; }
public CancelTransactionRequestBuilder(DataCashConfiguration configuration) : base(configuration) { }
public RefundTransactionRequestBuilder(DataCashConfiguration configuration) : base(configuration) { }
public DataCashRecurringRefundGateway(DataCashConfiguration configuration) : base(configuration) { }
public CancelTransactionRequestBuilder(DataCashConfiguration configuration) : base(configuration) { }
public DataCashRecurringTransactionBuilder(DataCashConfiguration configuration) : base(configuration) { }
public DataCashMoToRequestBuilder(DataCashConfiguration configuration) : base(configuration) { }
public DataCash3DSecureAuthorizeRequestBuilder(DataCashConfiguration configuration) : base(configuration) { }
public DataCash3DSecureAuthorizeRequestBuilder(DataCashConfiguration configuration) : base(configuration) { }
public DataCashMoToGateway(DataCashConfiguration configuration) : this(configuration, new HttpClient(), new DataCashMoToRequestBuilder(configuration), new DataCashResponseParser(), new RefundGateway(configuration), new CancelGateway(configuration)) { }