public ListingGroupController(IAmazonListingGroupService amazonListingGroupService,
                               AmazonAppSettings amazonAppSettings, SiteSettings siteSettings)
 {
     _amazonListingGroupService = amazonListingGroupService;
     _amazonAppSettings         = amazonAppSettings;
     _siteSettings = siteSettings;
 }
 public ListingGroupControllerTests()
 {
     _amazonListingGroupService = A.Fake<IAmazonListingGroupService>();
     _amazonAppSettings = A.Fake<AmazonAppSettings>();
     _siteSettings = new SiteSettings() { DefaultPageSize = 10 };
     _listingGroupController = new ListingGroupController(_amazonListingGroupService, _amazonAppSettings, _siteSettings);
 }
 public AmazonListingSyncManagerTests()
 {
     _syncAmazonListingService  = A.Fake <ISyncAmazonListingService>();
     _amazonListingService      = A.Fake <IAmazonListingService>();
     _amazonLogService          = A.Fake <IAmazonLogService>();
     _closeAmazonListingService = A.Fake <ICloseAmazonListingService>();
     _amazonListingGroupService = A.Fake <IAmazonListingGroupService>();
     _amazonListingSyncManager  = new AmazonListingSyncManager(_syncAmazonListingService, _amazonListingService,
                                                               _amazonLogService, _closeAmazonListingService, _amazonListingGroupService);
 }
 public ListingGroupControllerTests()
 {
     _amazonListingGroupService = A.Fake <IAmazonListingGroupService>();
     _amazonAppSettings         = A.Fake <AmazonAppSettings>();
     _siteSettings = new SiteSettings()
     {
         DefaultPageSize = 10
     };
     _listingGroupController = new ListingGroupController(_amazonListingGroupService, _amazonAppSettings, _siteSettings);
 }
 public AmazonListingSyncManagerTests()
 {
     _syncAmazonListingService = A.Fake<ISyncAmazonListingService>();
     _amazonListingService = A.Fake<IAmazonListingService>();
     _amazonLogService = A.Fake<IAmazonLogService>();
     _closeAmazonListingService = A.Fake<ICloseAmazonListingService>();
     _amazonListingGroupService = A.Fake<IAmazonListingGroupService>();
     _amazonListingSyncManager = new AmazonListingSyncManager(_syncAmazonListingService,_amazonListingService,
         _amazonLogService,_closeAmazonListingService,_amazonListingGroupService);
 }
 public PrepareForSyncAmazonListingServiceTests()
 {
     _amazonListingService = A.Fake<IAmazonListingService>();
     _amazonListingGroupService = A.Fake<IAmazonListingGroupService>();
     _ecommerceSettings = A.Fake<EcommerceSettings>();
     _amazonSellerSettings = A.Fake<AmazonSellerSettings>();
     _productVariantService = A.Fake<IProductVariantService>();
     _getStockRemainingQuantity = A.Fake<IGetStockRemainingQuantity>();
     _prepareForSyncAmazonListingService = new PrepareForSyncAmazonListingService(_amazonListingService,_amazonListingGroupService,
     _ecommerceSettings,_amazonSellerSettings,_productVariantService, _getStockRemainingQuantity);
 }
 public PrepareForSyncAmazonListingServiceTests()
 {
     _amazonListingService               = A.Fake <IAmazonListingService>();
     _amazonListingGroupService          = A.Fake <IAmazonListingGroupService>();
     _ecommerceSettings                  = A.Fake <EcommerceSettings>();
     _amazonSellerSettings               = A.Fake <AmazonSellerSettings>();
     _productVariantService              = A.Fake <IProductVariantService>();
     _getStockRemainingQuantity          = A.Fake <IGetStockRemainingQuantity>();
     _prepareForSyncAmazonListingService = new PrepareForSyncAmazonListingService(_amazonListingService, _amazonListingGroupService,
                                                                                  _ecommerceSettings, _amazonSellerSettings, _productVariantService, _getStockRemainingQuantity, _productPricingMethod);
 }
 public AmazonListingSyncManager(
     ISyncAmazonListingService exportAmazonListingService, 
     IAmazonListingService amazonListingService, 
     IAmazonLogService amazonLogService, 
     ICloseAmazonListingService closeAmazonListingService, 
     IAmazonListingGroupService amazonListingGroupService)
 {
     _exportAmazonListingService = exportAmazonListingService;
     _amazonListingService = amazonListingService;
     _amazonLogService = amazonLogService;
     _closeAmazonListingService = closeAmazonListingService;
     _amazonListingGroupService = amazonListingGroupService;
 }
Esempio n. 9
0
 public AmazonListingSyncManager(
     ISyncAmazonListingService exportAmazonListingService,
     IAmazonListingService amazonListingService,
     IAmazonLogService amazonLogService,
     ICloseAmazonListingService closeAmazonListingService,
     IAmazonListingGroupService amazonListingGroupService)
 {
     _exportAmazonListingService = exportAmazonListingService;
     _amazonListingService       = amazonListingService;
     _amazonLogService           = amazonLogService;
     _closeAmazonListingService  = closeAmazonListingService;
     _amazonListingGroupService  = amazonListingGroupService;
 }
 public PrepareForSyncAmazonListingService(
     IAmazonListingService amazonListingService,
     IAmazonListingGroupService amazonListingGroupService,
     EcommerceSettings ecommerceSettings,
     AmazonSellerSettings amazonSellerSettings,
     IProductVariantService productVariantService,
     IGetStockRemainingQuantity getStockRemainingQuantity)
 {
     _amazonListingService = amazonListingService;
     _amazonListingGroupService = amazonListingGroupService;
     _ecommerceSettings = ecommerceSettings;
     _amazonSellerSettings = amazonSellerSettings;
     _productVariantService = productVariantService;
     _getStockRemainingQuantity = getStockRemainingQuantity;
 }
Esempio n. 11
0
 public PrepareForSyncAmazonListingService(
     IAmazonListingService amazonListingService,
     IAmazonListingGroupService amazonListingGroupService,
     EcommerceSettings ecommerceSettings,
     AmazonSellerSettings amazonSellerSettings,
     IProductVariantService productVariantService,
     IGetStockRemainingQuantity getStockRemainingQuantity)
 {
     _amazonListingService      = amazonListingService;
     _amazonListingGroupService = amazonListingGroupService;
     _ecommerceSettings         = ecommerceSettings;
     _amazonSellerSettings      = amazonSellerSettings;
     _productVariantService     = productVariantService;
     _getStockRemainingQuantity = getStockRemainingQuantity;
 }