Ejemplo n.º 1
0
 public PayPalCartItemService(IOrderTotalCalculationService orderTotalCalculationService,
                              IProductService productService,
                              IShoppingCartService shoppingCartService,
                              ITaxService taxService,
                              IWorkContext workContext,
                              PayPalCurrencyCodeParser payPalCurrencyCodeParser)
 {
     _orderTotalCalculationService = orderTotalCalculationService;
     _productService           = productService;
     _shoppingCartService      = shoppingCartService;
     _taxService               = taxService;
     _workContext              = workContext;
     _payPalCurrencyCodeParser = payPalCurrencyCodeParser;
 }
Ejemplo n.º 2
0
 public PayPalRecurringPaymentsService(IAddressService addressService,
                                       ICountryService countryService,
                                       ICustomerService customerService,
                                       IStoreService storeService,
                                       IStateProvinceService stateProvinceService,
                                       IWorkContext workContext,
                                       PayPalCurrencyCodeParser payPalCurrencyCodeParser)
 {
     _addressService           = addressService;
     _countryService           = countryService;
     _customerService          = customerService;
     _stateProvinceService     = stateProvinceService;
     _storeService             = storeService;
     _workContext              = workContext;
     _payPalCurrencyCodeParser = payPalCurrencyCodeParser;
 }
Ejemplo n.º 3
0
 public PayPalRequestService(ICurrencyService currencyService,
                             CurrencySettings currencySettings,
                             IProductService productService,
                             IWorkContext workContext,
                             PayPalCurrencyCodeParser payPalCurrencyCodeParser,
                             PayPalExpressCheckoutPaymentSettings payPalExpressCheckoutPaymentSettings,
                             PayPalOrderService payPalOrderService,
                             PayPalRecurringPaymentsService payPalRecurringPaymentsService,
                             PayPalUrlService payPalUrlService)
 {
     _currencyService                      = currencyService;
     _currencySettings                     = currencySettings;
     _productService                       = productService;
     _workContext                          = workContext;
     _payPalCurrencyCodeParser             = payPalCurrencyCodeParser;
     _payPalExpressCheckoutPaymentSettings = payPalExpressCheckoutPaymentSettings;
     _payPalOrderService                   = payPalOrderService;
     _payPalRecurringPaymentsService       = payPalRecurringPaymentsService;
     _payPalUrlService                     = payPalUrlService;
 }
Ejemplo n.º 4
0
 public PayPalOrderService(
     IAddressService addressService,
     IShippingService shippingService,
     IGenericAttributeService genericAttributeService,
     IStoreContext storeContext,
     ICheckoutAttributeParser checkoutAttributeParser,
     IWorkContext workContext,
     PayPalCartItemService payPalCartItemService,
     PayPalCurrencyCodeParser payPalCurrencyCodeParser,
     PayPalExpressCheckoutPaymentSettings payPalExpressCheckoutPaymentSettings)
 {
     _addressService                       = addressService;
     _shippingService                      = shippingService;
     _genericAttributeService              = genericAttributeService;
     _storeContext                         = storeContext;
     _checkoutAttributeParser              = checkoutAttributeParser;
     _workContext                          = workContext;
     _payPalCartItemService                = payPalCartItemService;
     _payPalCurrencyCodeParser             = payPalCurrencyCodeParser;
     _payPalExpressCheckoutPaymentSettings = payPalExpressCheckoutPaymentSettings;
 }