public PaymentPayPalExpressCheckoutController(CustomerSettings customerSettings, ICustomerService customerService, IGenericAttributeService genericAttributeService, IProductService productService, ISettingService settingService, IShoppingCartService shoppingCartService, IStoreContext storeContext, IWorkContext workContext, OrderSettings orderSettings, PayPalExpressCheckoutConfirmOrderService payPalExpressCheckoutConfirmOrderService, PayPalExpressCheckoutPaymentSettings payPalExpressCheckoutPaymentSettings, PayPalExpressCheckoutPlaceOrderService payPalExpressCheckoutPlaceOrderService, PayPalExpressCheckoutService payPalExpressCheckoutService, PayPalExpressCheckoutShippingMethodService payPalExpressCheckoutShippingMethodService, PayPalIPNService payPalIPNService, PayPalRedirectionService payPalRedirectionService) { _customerSettings = customerSettings; _customerService = customerService; _genericAttributeService = genericAttributeService; _productService = productService; _settingService = settingService; _shoppingCartService = shoppingCartService; _storeContext = storeContext; _workContext = workContext; _orderSettings = orderSettings; _payPalExpressCheckoutConfirmOrderService = payPalExpressCheckoutConfirmOrderService; _payPalExpressCheckoutPaymentSettings = payPalExpressCheckoutPaymentSettings; _payPalExpressCheckoutPlaceOrderService = payPalExpressCheckoutPlaceOrderService; _payPalExpressCheckoutService = payPalExpressCheckoutService; _payPalExpressCheckoutShippingMethodService = payPalExpressCheckoutShippingMethodService; _payPalIPNService = payPalIPNService; _payPalRedirectionService = payPalRedirectionService; }
public PaymentPayPalExpressCheckoutViewComponent(AddressSettings addressSettings, IAddressService addressService, IOrderProcessingService orderProcessingService, IPaymentPluginManager paymentPluginManager, IWorkContext workContext, PayPalExpressCheckoutService payPalExpressCheckoutService) { _addressSettings = addressSettings; _addressService = addressService; _orderProcessingService = orderProcessingService; _paymentPluginManager = paymentPluginManager; _workContext = workContext; _payPalExpressCheckoutService = payPalExpressCheckoutService; }
/// <summary> /// Initializes a new instance of the <see cref="PayPalExpressCheckoutPaymentProcessor"/> class. /// </summary> /// <param name="service"> /// The <see cref="IPayPalApiPaymentService"/>. /// </param> public PayPalExpressCheckoutPaymentProcessor(IPayPalApiService service) { Mandate.ParameterNotNull(service, "service"); this._service = (PayPalExpressCheckoutService)service.ExpressCheckout; }