Exemplo n.º 1
0
 public AmazonRequestService(IAmazonListingService amazonListingService, IAmazonLogService amazonLogService,
                             IAmazonFeedsApiService amazonFeedsApiService,
                             IAmazonProductsApiService amazonProductsApiService)
 {
     _amazonListingService     = amazonListingService;
     _amazonLogService         = amazonLogService;
     _amazonFeedsApiService    = amazonFeedsApiService;
     _amazonProductsApiService = amazonProductsApiService;
 }
Exemplo n.º 2
0
 public ListingControllerTests()
 {
     _amazonListingSyncManager = A.Fake<IAmazonListingSyncManager>();
     _amazonListingService = A.Fake<IAmazonListingService>();
     _amazonAppSettings = A.Fake<AmazonAppSettings>();
     _prepareForSyncAmazonListingService = A.Fake<IPrepareForSyncAmazonListingService>();
     _listingController = new ListingController(_amazonListingSyncManager, _amazonListingService,
     _amazonAppSettings, _prepareForSyncAmazonListingService);
 }
Exemplo n.º 3
0
 public ListingControllerTests()
 {
     _amazonListingSyncManager           = A.Fake <IAmazonListingSyncManager>();
     _amazonListingService               = A.Fake <IAmazonListingService>();
     _amazonAppSettings                  = A.Fake <AmazonAppSettings>();
     _prepareForSyncAmazonListingService = A.Fake <IPrepareForSyncAmazonListingService>();
     _listingController                  = new ListingController(_amazonListingSyncManager, _amazonListingService,
                                                                 _amazonAppSettings, _prepareForSyncAmazonListingService);
 }
Exemplo n.º 4
0
 public AmazonRequestService(IAmazonListingService amazonListingService, IAmazonLogService amazonLogService,
     IAmazonFeedsApiService amazonFeedsApiService,
     IAmazonProductsApiService amazonProductsApiService)
 {
     _amazonListingService = amazonListingService;
     _amazonLogService = amazonLogService;
     _amazonFeedsApiService = amazonFeedsApiService;
     _amazonProductsApiService = amazonProductsApiService;
 }
 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 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);
 }
Exemplo n.º 7
0
 public CloseAmazonListingService(IAmazonFeedsApiService amazonFeedsApiService,
                                   IAmazonLogService amazonLogService, 
     IAmazonListingRequestService amazonRequestService, 
     IAmazonListingService amazonListingService)
 {
     _amazonFeedsApiService = amazonFeedsApiService;
     _amazonLogService = amazonLogService;
     _amazonRequestService = amazonRequestService;
     _amazonListingService = amazonListingService;
 }
 public CloseAmazonListingService(IAmazonFeedsApiService amazonFeedsApiService,
                                  IAmazonLogService amazonLogService,
                                  IAmazonListingRequestService amazonRequestService,
                                  IAmazonListingService amazonListingService)
 {
     _amazonFeedsApiService = amazonFeedsApiService;
     _amazonLogService      = amazonLogService;
     _amazonRequestService  = amazonRequestService;
     _amazonListingService  = amazonListingService;
 }
 public ListingController(
     IAmazonListingSyncManager amazonListingSyncManager,
     IAmazonListingService amazonListingService,
     AmazonAppSettings amazonAppSettings, IPrepareForSyncAmazonListingService prepareForSyncAmazonListingService)
 {
     _amazonListingSyncManager           = amazonListingSyncManager;
     _amazonListingService               = amazonListingService;
     _amazonAppSettings                  = amazonAppSettings;
     _prepareForSyncAmazonListingService = prepareForSyncAmazonListingService;
 }
 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);
 }
Exemplo n.º 12
0
 public AmazonListingSyncManager(
     ISyncAmazonListingService exportAmazonListingService, 
     IAmazonListingService amazonListingService, 
     IAmazonLogService amazonLogService, 
     ICloseAmazonListingService closeAmazonListingService, 
     IAmazonListingGroupService amazonListingGroupService)
 {
     _exportAmazonListingService = exportAmazonListingService;
     _amazonListingService = amazonListingService;
     _amazonLogService = amazonLogService;
     _closeAmazonListingService = closeAmazonListingService;
     _amazonListingGroupService = amazonListingGroupService;
 }
Exemplo n.º 13
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;
 }
Exemplo n.º 15
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;
 }