Example #1
0
 public PayPalRecurringPaymentsService(ICustomerService customerService, IStoreService storeService, IOrderService orderService, IPayPalCurrencyCodeParser payPalCurrencyCodeParser)
 {
     _customerService          = customerService;
     _storeService             = storeService;
     _orderService             = orderService;
     _payPalCurrencyCodeParser = payPalCurrencyCodeParser;
 }
 public PayPalRecurringPaymentsService(ICustomerService customerService, IStoreService storeService, IOrderService orderService, IPayPalCurrencyCodeParser payPalCurrencyCodeParser,
                                       IWorkContext workContext)
 {
     _customerService          = customerService;
     _storeService             = storeService;
     _orderService             = orderService;
     _payPalCurrencyCodeParser = payPalCurrencyCodeParser;
     this._workContext         = workContext;
 }
Example #3
0
 public PayPalCartItemService(IOrderTotalCalculationService orderTotalCalculationService,
                              IPayPalCurrencyCodeParser payPalCurrencyCodeParser,
                              ITaxService taxService,
                              IWorkContext workContext,
                              IPriceCalculationService priceCalculationService)
 {
     _orderTotalCalculationService = orderTotalCalculationService;
     _payPalCurrencyCodeParser     = payPalCurrencyCodeParser;
     _taxService              = taxService;
     _workContext             = workContext;
     _priceCalculationService = priceCalculationService;
 }
 public PayPalRequestService(IPayPalUrlService payPalUrlService,
                             IPayPalShippingService payPalShippingService,
                             PayPalExpressCheckoutPaymentSettings payPalExpressCheckoutPaymentSettings,
                             IPayPalOrderService payPalOrderService,
                             IPayPalCurrencyCodeParser payPalCurrencyCodeParser,
                             IPayPalRecurringPaymentsService payPalRecurringPaymentsService,
                             IWorkContext workContext)
 {
     _payPalUrlService      = payPalUrlService;
     _payPalShippingService = payPalShippingService;
     _payPalExpressCheckoutPaymentSettings = payPalExpressCheckoutPaymentSettings;
     _payPalOrderService             = payPalOrderService;
     _payPalCurrencyCodeParser       = payPalCurrencyCodeParser;
     _payPalRecurringPaymentsService = payPalRecurringPaymentsService;
     _workContext = workContext;
 }
Example #5
0
 public PayPalOrderService(IWorkContext workContext,
                           PayPalExpressCheckoutPaymentSettings payPalExpressCheckoutPaymentSettings,
                           IPayPalCurrencyCodeParser payPalCurrencyCodeParser,
                           IPayPalCartItemService payPalCartItemService,
                           IShippingService shippingService,
                           IGenericAttributeService genericAttributeService,
                           IStoreContext storeContext,
                           ICheckoutAttributeParser checkoutAttributeParser)
 {
     _workContext = workContext;
     _payPalExpressCheckoutPaymentSettings = payPalExpressCheckoutPaymentSettings;
     _payPalCurrencyCodeParser             = payPalCurrencyCodeParser;
     _payPalCartItemService   = payPalCartItemService;
     _shippingService         = shippingService;
     _genericAttributeService = genericAttributeService;
     _storeContext            = storeContext;
     _checkoutAttributeParser = checkoutAttributeParser;
 }