示例#1
0
        public IsamOrderService(
            ISettingService settingService,
            IEncryptionService encryptionService,
            IBaseService baseIsamService,
            IProductAttributeParser productAttributeParser,
            IAttributeUtilities attributeUtilities,
            IRepository <ShopAbc> shopAbcRepository,
            IRepository <CustomerShopMapping> customerShopMappingRepository,
            IRepository <WarrantySku> warrantySkuRepository,
            IRepository <ProductAbcDescription> productAbcDescriptionRepository,
            IRepository <GiftCardUsageHistory> giftCardUsageHistoryRepository,
            IStoreContext storeContext,
            IWorkContext workContext,
            IGiftCardService giftCardService,
            ExportOrderSettings settings,
            ILogger logger,
            IOrderService orderService,
            IPriceCalculationService priceCalculationService,
            IAddressService addressService,
            IProductService productService,
            IStateProvinceService stateProvinceService,
            ICountryService countryService,
            IUrlRecordService urlRecordService,
            IProductAttributeService productAttributeService,
            IRepository <Product> productRepository,
            ICustomShopService customShopService,
            IIsamGiftCardService isamGiftCardService,
            IYahooService yahooService
            )
        {
            _settingService                  = settingService;
            _encryptionService               = encryptionService;
            _baseIsamService                 = baseIsamService;
            _productAttributeParser          = productAttributeParser;
            _attributeUtilities              = attributeUtilities;
            _shopAbcRepository               = shopAbcRepository;
            _customerShopMappingRepository   = customerShopMappingRepository;
            _warrantySkuRepository           = warrantySkuRepository;
            _productAbcDescriptionRepository = productAbcDescriptionRepository;
            _giftCardUsageHistoryRepository  = giftCardUsageHistoryRepository;
            _storeContext            = storeContext;
            _workContext             = workContext;
            _giftCardService         = giftCardService;
            _settings                = settings;
            _logger                  = logger;
            _orderService            = orderService;
            _priceCalculationService = priceCalculationService;
            _addressService          = addressService;
            _productService          = productService;
            _stateProvinceService    = stateProvinceService;
            _countryService          = countryService;
            _urlRecordService        = urlRecordService;
            _productAttributeService = productAttributeService;
            _productRepository       = productRepository;
            _customShopService       = customShopService;
            _isamGiftCardService     = isamGiftCardService;
            _yahooService            = yahooService;

            InitializeAllColParams();
        }
 public SynchronyPaymentController(
     IWorkContext workContext,
     IStoreService storeService,
     ISettingService settingService,
     IPaymentService paymentService,
     IOrderService orderService,
     IOrderProcessingService orderProcessingService,
     ILocalizationService localizationService,
     IStoreContext storeContext,
     ILogger logger,
     IWebHelper webHelper,
     PaymentSettings paymentSettings,
     SynchronyPaymentSettings synchronyPaymentSettings,
     OrderSettings orderSettings,
     ICurrencyService currencyService,
     IPriceFormatter priceFormatter,
     ITaxService taxService,
     IPriceCalculationService priceCalculationService,
     IProductAttributeFormatter productAttributeFormatter,
     IProductAttributeParser productAttributeParser,
     IStaticCacheManager staticCacheManager,
     INotificationService notificationService,
     IShoppingCartService shoppingCartService,
     IProductService productService,
     IShoppingCartModelFactory shoppingCartModelFactory,
     IAddressService addressService,
     IStateProvinceService stateProvinceService,
     ICustomerService customerService,
     ICheckoutModelFactory checkoutModelFactory,
     IPaymentPluginManager paymentPluginManager,
     IGiftCardService giftCardService,
     IIsamGiftCardService isamGiftCardService,
     IHttpClientFactory httpClientFactory
     )
 {
     _workContext            = workContext;
     _storeService           = storeService;
     _settingService         = settingService;
     _paymentService         = paymentService;
     _orderService           = orderService;
     _orderProcessingService = orderProcessingService;
     _localizationService    = localizationService;
     _storeContext           = storeContext;
     _logger                    = logger;
     _webHelper                 = webHelper;
     _paymentSettings           = paymentSettings;
     _synchronyPaymentSettings  = synchronyPaymentSettings;
     _orderSettings             = orderSettings;
     _currencyService           = currencyService;
     _priceFormatter            = priceFormatter;
     _taxService                = taxService;
     _priceCalculationService   = priceCalculationService;
     _productAttributeFormatter = productAttributeFormatter;
     _productAttributeParser    = productAttributeParser;
     _staticCacheManager        = staticCacheManager;
     _notificationService       = notificationService;
     _shoppingCartService       = shoppingCartService;
     _productService            = productService;
     _shoppingCartModelFactory  = shoppingCartModelFactory;
     _addressService            = addressService;
     _stateProvinceService      = stateProvinceService;
     _customerService           = customerService;
     _checkoutModelFactory      = checkoutModelFactory;
     _paymentPluginManager      = paymentPluginManager;
     _giftCardService           = giftCardService;
     _isamGiftCardService       = isamGiftCardService;
     _httpClientFactory         = httpClientFactory;
 }
        public CustomCheckoutController(
            AddressSettings addressSettings,
            CustomerSettings customerSettings,
            IAddressAttributeParser addressAttributeParser,
            IAddressService addressService,
            ICheckoutModelFactory checkoutModelFactory,
            ICountryService countryService,
            ICustomerService customerService,
            IGenericAttributeService genericAttributeService,
            ILocalizationService localizationService,
            ILogger logger,
            IOrderProcessingService orderProcessingService,
            ICustomOrderService orderService,
            IPaymentPluginManager paymentPluginManager,
            IPaymentService paymentService,
            IProductService productService,
            IShippingService shippingService,
            IShoppingCartService shoppingCartService,
            IStoreContext storeContext,
            IWebHelper webHelper,
            IWorkContext workContext,
            OrderSettings orderSettings,
            PaymentSettings paymentSettings,
            RewardPointsSettings rewardPointsSettings,
            ShippingSettings shippingSettings,
            CoreSettings coreSettings,
            IProductAttributeService productAttributeService,
            IProductAttributeParser productAttributeParser,
            ISettingService settingService,
            IGiftCardService giftCardService,
            IIsamGiftCardService isamGiftCardService,
            IWarrantyService warrantyService,
            ITermLookupService termLookupService,
            ICardCheckService cardCheckService
            ) : base(addressSettings, customerSettings, addressAttributeParser,
                     addressService, checkoutModelFactory, countryService, customerService,
                     genericAttributeService, localizationService, logger, orderProcessingService,
                     orderService, paymentPluginManager, paymentService, productService,
                     shippingService, shoppingCartService, storeContext, webHelper,
                     workContext, orderSettings, paymentSettings, rewardPointsSettings,
                     shippingSettings)
        {
            _addressSettings         = addressSettings;
            _customerSettings        = customerSettings;
            _addressAttributeParser  = addressAttributeParser;
            _addressService          = addressService;
            _checkoutModelFactory    = checkoutModelFactory;
            _countryService          = countryService;
            _customerService         = customerService;
            _genericAttributeService = genericAttributeService;
            _localizationService     = localizationService;
            _logger = logger;
            _orderProcessingService = orderProcessingService;
            _orderService           = orderService;
            _paymentPluginManager   = paymentPluginManager;
            _paymentService         = paymentService;
            _productService         = productService;
            _shippingService        = shippingService;
            _shoppingCartService    = shoppingCartService;
            _storeContext           = storeContext;
            _webHelper            = webHelper;
            _workContext          = workContext;
            _orderSettings        = orderSettings;
            _paymentSettings      = paymentSettings;
            _rewardPointsSettings = rewardPointsSettings;
            _shippingSettings     = shippingSettings;
            _coreSettings         = coreSettings;

            _productAttributeService = productAttributeService;
            _productAttributeParser  = productAttributeParser;
            _settingService          = settingService;
            _giftCardService         = giftCardService;
            _isamGiftCardService     = isamGiftCardService;
            _warrantyService         = warrantyService;
            _termLookupService       = termLookupService;
            _cardCheckService        = cardCheckService;
        }