public WarrantyServiceTesting()
        {
            Data.ScheduleContext context = new Data.ScheduleContext();
            context.Migrate();

            Service = new WarrantyService();
        }
Example #2
0
 public WarrantyRequestHandler(IOrdersRepository ordersRepository, IWarrantyService warrantyService,
                               IItemsRepository itemsRepository)
 {
     _ordersRepository = ordersRepository ?? throw new ArgumentNullException(nameof(ordersRepository));
     _warrantyService  = warrantyService ?? throw new ArgumentNullException(nameof(warrantyService));
     _itemsRepository  = itemsRepository ?? throw new ArgumentNullException(nameof(itemsRepository));
 }
 public CancelOrderCommandHandler(IItemsRepository itemsRepository, IOrdersRepository ordersRepository,
                                  WarehouseDbContext warehouseDbContext, IWarrantyService warrantyService)
 {
     _itemsRepository    = itemsRepository ?? throw new ArgumentNullException(nameof(itemsRepository));
     _ordersRepository   = ordersRepository ?? throw new ArgumentNullException(nameof(ordersRepository));
     _warehouseDbContext = warehouseDbContext ?? throw new ArgumentNullException(nameof(warehouseDbContext));
     _warrantyService    = warrantyService ?? throw new ArgumentNullException(nameof(warrantyService));
 }
Example #4
0
 public IntegrationBase()
 {
     User     = new UserService();
     Team     = new TeamService();
     Location = new LocationService();
     Category = new CategoryService();
     Schedule = new ScheduleService();
     Warranty = new WarrantyService();
 }
Example #5
0
 public YahooService(
     IAbcMattressBaseService abcMattressBaseService,
     IAbcMattressEntryService abcMattressEntryService,
     IAbcMattressFrameService abcMattressFrameService,
     IAbcMattressGiftService abcMattressGiftService,
     IAbcMattressModelService abcMattressModelService,
     IAbcMattressPackageService abcMattressPackageService,
     IAbcMattressProtectorService abcMattressProtectorService,
     IAddressService addressService,
     IAttributeUtilities attributeUtilities,
     ICountryService countryService,
     ICustomOrderService customOrderService,
     ICustomShopService customShopService,
     IEncryptionService encryptionService,
     IGenericAttributeService genericAttributeService,
     IGiftCardService giftCardService,
     IHomeDeliveryCostService homeDeliveryCostService,
     IPriceCalculationService priceCalculationService,
     IProductService productService,
     IProductAbcDescriptionService productAbcDescriptionService,
     IStateProvinceService stateProvinceService,
     IStoreService storeService,
     IUrlRecordService urlRecordService,
     IWarrantyService warrantyService,
     ExportOrderSettings settings,
     SecuritySettings securitySettings,
     IPaymentService paymentService
     )
 {
     _abcMattressBaseService      = abcMattressBaseService;
     _abcMattressEntryService     = abcMattressEntryService;
     _abcMattressFrameService     = abcMattressFrameService;
     _abcMattressGiftService      = abcMattressGiftService;
     _abcMattressModelService     = abcMattressModelService;
     _abcMattressPackageService   = abcMattressPackageService;
     _abcMattressProtectorService = abcMattressProtectorService;
     _addressService               = addressService;
     _attributeUtilities           = attributeUtilities;
     _countryService               = countryService;
     _customOrderService           = customOrderService;
     _customShopService            = customShopService;
     _encryptionService            = encryptionService;
     _genericAttributeService      = genericAttributeService;
     _giftCardService              = giftCardService;
     _homeDeliveryCostService      = homeDeliveryCostService;
     _productService               = productService;
     _productAbcDescriptionService = productAbcDescriptionService;
     _priceCalculationService      = priceCalculationService;
     _stateProvinceService         = stateProvinceService;
     _storeService     = storeService;
     _urlRecordService = urlRecordService;
     _warrantyService  = warrantyService;
     _settings         = settings;
     _securitySettings = securitySettings;
     _paymentService   = paymentService;
 }
Example #6
0
 public WarrantyController(IWarrantyService warrantyService, IAssetService assetService)
 {
     this._warrantyService = warrantyService;
     this._assetService    = assetService;
 }
Example #7
0
 public WarrantyController(IErrorService errorService, IWarrantyService warrantyService) :
     base(errorService)
 {
     this._warrantyService = warrantyService;
 }
 public WarrantyController()
 {
     WarrantyService = new WarrantyService();
     TeamService     = new TeamService();
     UserService     = new UserService();
 }
Example #9
0
 public WarrantyCaseController(
     IWarrantyService warrantyService)
 {
     _warrantyService = warrantyService;
 }
        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;
        }