internal CustomerPaymentProviderBase(IRegisteredGatewayProvider registration, ICustomer customer, Guid paymentTypeFieldKey, decimal amount)
        {
            Mandate.ParameterNotNull(registration, "registration");
            Mandate.ParameterNotNull(customer, "customer");

            _registration        = registration;
            _paymentTypeFieldKey = paymentTypeFieldKey;
            _customer            = customer;
            _amount = amount;
        }
Example #2
0
 protected CustomerPaymentProviderBase(IRegisteredGatewayProvider registration, ICustomer customer, PaymentMethodType paymentMethodType, decimal amount)
     : this(registration, customer, EnumTypeFieldConverter.PaymentMethod().GetTypeField(paymentMethodType).TypeKey, amount)
 {
 }
Example #3
0
        internal CustomerPaymentProviderBase(IRegisteredGatewayProvider registration, ICustomer customer, Guid paymentTypeFieldKey, decimal amount)
        {
            Mandate.ParameterNotNull(registration, "registration");
            Mandate.ParameterNotNull(customer, "customer");

            _registration = registration;
            _paymentTypeFieldKey = paymentTypeFieldKey;
            _customer = customer;
            _amount = amount;
        }
Example #4
0
 protected CustomerCashPaymentProviderBase(IRegisteredGatewayProvider registration, ICustomer customer, decimal amount)
     : base(registration, customer, PaymentMethodType.Cash, amount)
 {
 }
Example #5
0
 public CashPayment(IRegisteredGatewayProvider registration, ICustomer customer, decimal amount)
     : base(registration, customer, amount)
 {
 }
 protected CustomerPaymentProviderBase(IRegisteredGatewayProvider registration, ICustomer customer, PaymentMethodType paymentMethodType, decimal amount)
     : this(registration, customer, EnumTypeFieldConverter.PaymentMethod().GetTypeField(paymentMethodType).TypeKey, amount)
 {
 }
 protected CustomerCashPaymentProviderBase(IRegisteredGatewayProvider registration, ICustomer customer, decimal amount)
     : base(registration, customer, PaymentMethodType.Cash, amount)
 {
 }
 public CashPayment(IRegisteredGatewayProvider registration, ICustomer customer, decimal amount)
     : base(registration, customer, amount)
 {
 }