/// <summary> /// Initializes a new instance of the <see cref="ChasePaymentGatewayMethod"/> class. /// </summary> /// <param name="gatewayProviderService"> /// The gateway provider service. /// </param> /// <param name="paymentMethod"> /// The payment method. /// </param> /// <param name="providerExtendedData"> /// The provider extended data. /// </param> public ChasePaymentGatewayMethod(IGatewayProviderService gatewayProviderService, IPaymentMethod paymentMethod, ExtendedDataCollection providerExtendedData) : base(gatewayProviderService, paymentMethod) { _processor = new ChasePaymentProcessor(providerExtendedData.GetProcessorSettings()); }
/// <summary> /// Initializes a new instance of the <see cref="ChasePaymentGatewayMethod"/> class. /// </summary> /// <param name="gatewayProviderService"> /// The gateway provider service. /// </param> /// <param name="paymentMethod"> /// The payment method. /// </param> /// <param name="providerExtendedData"> /// The provider extended data. /// </param> public ChasePaymentGatewayMethod(IGatewayProviderService gatewayProviderService, IPaymentMethod paymentMethod, ExtendedDataCollection providerExtendedData) : base(gatewayProviderService, paymentMethod) { _processor = new ChasePaymentProcessor(providerExtendedData.GetProcessorSettings()); }
/// <summary> /// Initializes a new instance of the <see cref="SagePayFormPaymentGatewayMethod"/> class. /// </summary> /// <param name="gatewayProviderService"> /// The <see cref="GatewayProviderService"/>. /// </param> /// <param name="paymentMethod"> /// The <see cref="IPaymentMethod"/>. /// </param> /// <param name="extendedData"> /// The SagePay providers <see cref="ExtendedDataCollection"/> /// </param> public SagePayFormPaymentGatewayMethod(IGatewayProviderService gatewayProviderService, IPaymentMethod paymentMethod, ExtendedDataCollection extendedData) : base(gatewayProviderService, paymentMethod, extendedData) { // New instance of the SagePay payment processor _processor = new SagePayFormPaymentProcessor(extendedData.GetProcessorSettings()); }
public UPSShippingGatewayMethod(IGatewayResource gatewayResource, IShipMethod shipMethod, IShipCountry shipCountry, ExtendedDataCollection providerExtendedData) : base(gatewayResource, shipMethod, shipCountry) { _processor = new UpsShippingProcessor(providerExtendedData.GetProcessorSettings()); _shipMethod = shipMethod; }
/// <summary> /// Initializes a new instance of the <see cref="SagePayFormPaymentGatewayMethod"/> class. /// </summary> /// <param name="gatewayProviderService"> /// The <see cref="GatewayProviderService"/>. /// </param> /// <param name="paymentMethod"> /// The <see cref="IPaymentMethod"/>. /// </param> /// <param name="extendedData"> /// The SagePay providers <see cref="ExtendedDataCollection"/> /// </param> public SagePayFormPaymentGatewayMethod(IGatewayProviderService gatewayProviderService, IPaymentMethod paymentMethod, ExtendedDataCollection extendedData) : base(gatewayProviderService, paymentMethod, extendedData) { // New instance of the SagePay payment processor _processor = new SagePayFormPaymentProcessor(extendedData.GetProcessorSettings()); }
public UPSShippingGatewayMethod(IGatewayResource gatewayResource, IShipMethod shipMethod, IShipCountry shipCountry, ExtendedDataCollection providerExtendedData) : base(gatewayResource, shipMethod, shipCountry) { _processor = new UpsShippingProcessor(providerExtendedData.GetProcessorSettings()); _shipMethod = shipMethod; }