C# Class Moolah.DataCash.DataCashMoToGateway

Inheritance: IPaymentGateway
Exibir arquivo Open project: davidduffett/Moolah

Public Methods

Method Description
CancelTransaction ( string originalTransactionReference ) : ICancelTransactionResponse
DataCashMoToGateway ( ) : System
DataCashMoToGateway ( Moolah.DataCash.DataCashConfiguration configuration ) : System
DataCashMoToGateway ( Moolah.DataCash.DataCashConfiguration configuration, IHttpClient httpClient, IDataCashPaymentRequestBuilder requestBuilder, IDataCashResponseParser responseParser, IRefundGateway refundGateway, ICancelGateway cancelGateway ) : System

TODO: Make internal and visible to Moolah.Specs

Payment ( string merchantReference, decimal amount, CardDetails card, Moolah.DataCash.BillingAddress billingAddress = null, string currencyCode = null ) : ICardPaymentResponse
RefundTransaction ( string originalTransactionReference, decimal amount ) : IRefundTransactionResponse

Method Details

CancelTransaction() public method

public CancelTransaction ( string originalTransactionReference ) : ICancelTransactionResponse
originalTransactionReference string
return ICancelTransactionResponse

DataCashMoToGateway() public method

public DataCashMoToGateway ( ) : System
return System

DataCashMoToGateway() public method

public DataCashMoToGateway ( Moolah.DataCash.DataCashConfiguration configuration ) : System
configuration Moolah.DataCash.DataCashConfiguration
return System

DataCashMoToGateway() public method

TODO: Make internal and visible to Moolah.Specs
public DataCashMoToGateway ( Moolah.DataCash.DataCashConfiguration configuration, IHttpClient httpClient, IDataCashPaymentRequestBuilder requestBuilder, IDataCashResponseParser responseParser, IRefundGateway refundGateway, ICancelGateway cancelGateway ) : System
configuration Moolah.DataCash.DataCashConfiguration
httpClient IHttpClient
requestBuilder IDataCashPaymentRequestBuilder
responseParser IDataCashResponseParser
refundGateway IRefundGateway
cancelGateway ICancelGateway
return System

Payment() public method

public Payment ( string merchantReference, decimal amount, CardDetails card, Moolah.DataCash.BillingAddress billingAddress = null, string currencyCode = null ) : ICardPaymentResponse
merchantReference string
amount decimal
card CardDetails
billingAddress Moolah.DataCash.BillingAddress
currencyCode string
return ICardPaymentResponse

RefundTransaction() public method

public RefundTransaction ( string originalTransactionReference, decimal amount ) : IRefundTransactionResponse
originalTransactionReference string
amount decimal
return IRefundTransactionResponse