public ExportProductsManagerTests() { _productVariantService = A.Fake <IProductVariantService>(); _getStockRemainingQuantity = A.Fake <IGetStockRemainingQuantity>(); _exportProductsManager = new ExportProductsManager(_productVariantService, _getStockRemainingQuantity); }
public ExportProductsManagerTests() { _productVariantService = A.Fake<IProductVariantService>(); _getStockRemainingQuantity = A.Fake<IGetStockRemainingQuantity>(); _exportProductsManager = new ExportProductsManager(_productVariantService, _getStockRemainingQuantity); }
public GoogleBaseManagerTests() { _productVariantService = A.Fake <IProductVariantService>(); _googleBaseShippingService = A.Fake <IGoogleBaseShippingService>(); _getStockRemainingQuantity = A.Fake <IGetStockRemainingQuantity>(); _googleBaseManager = new GoogleBaseManager(Session, _productVariantService, _googleBaseShippingService, _getStockRemainingQuantity); }
public GoogleBaseManagerTests() { _googleBaseShippingService = A.Fake <IGoogleBaseShippingService>(); _getStockRemainingQuantity = A.Fake <IGetStockRemainingQuantity>(); _googleBaseManager = new GoogleBaseManager(Session, _googleBaseShippingService, _getStockRemainingQuantity, _productPricingMethod); }
public GoogleBaseManagerTests() { _productVariantService = A.Fake<IProductVariantService>(); _googleBaseShippingService = A.Fake<IGoogleBaseShippingService>(); _getStockRemainingQuantity = A.Fake<IGetStockRemainingQuantity>(); _googleBaseManager = new GoogleBaseManager(Session, _productVariantService, _googleBaseShippingService,_getStockRemainingQuantity); }
public GoogleBaseManager(ISession session, IProductVariantService productVariantService, IGoogleBaseShippingService googleBaseShippingService, IGetStockRemainingQuantity getStockRemainingQuantity) { _session = session; _productVariantService = productVariantService; _googleBaseShippingService = googleBaseShippingService; _getStockRemainingQuantity = getStockRemainingQuantity; }
public GoogleBaseManager(ISession session, IProductVariantService productVariantService, IGoogleBaseShippingService googleBaseShippingService,IGetStockRemainingQuantity getStockRemainingQuantity) { _session = session; _productVariantService = productVariantService; _googleBaseShippingService = googleBaseShippingService; _getStockRemainingQuantity = getStockRemainingQuantity; }
public GoogleBaseManager(ISession session, IGoogleBaseShippingService googleBaseShippingService, IGetStockRemainingQuantity getStockRemainingQuantity, IProductPricingMethod productPricingMethod) { _session = session; _googleBaseShippingService = googleBaseShippingService; _getStockRemainingQuantity = getStockRemainingQuantity; _productPricingMethod = productPricingMethod; }
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 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; }
public ExportProductsManager(IProductVariantService productVariantService, IGetStockRemainingQuantity getStockRemainingQuantity) { _productVariantService = productVariantService; _getStockRemainingQuantity = getStockRemainingQuantity; }
public ProductStockChecker(IGetStockRemainingQuantity getStockRemainingQuantity) { _getStockRemainingQuantity = getStockRemainingQuantity; }
private static void AddVariantInfo(int i, ExcelWorksheet wsItems, IList<ProductVariant> productVariants, int rowId, IGetStockRemainingQuantity getStockRemainingQuantity) { wsItems.Cells["K" + rowId].Value = productVariants[i].Name ?? String.Empty; wsItems.Cells["L" + rowId].Value = productVariants[i].BasePrice; wsItems.Cells["M" + rowId].Value = productVariants[i].PreviousPrice; if (productVariants[i].TaxRate != null) wsItems.Cells["N" + rowId].Value = productVariants[i].TaxRate.Id; wsItems.Cells["O" + rowId].Value = productVariants[i].Weight; wsItems.Cells["P" + rowId].Value = getStockRemainingQuantity.Get(productVariants[i]); wsItems.Cells["Q" + rowId].Value = productVariants[i].TrackingPolicy; wsItems.Cells["R" + rowId].Value = productVariants[i].SKU; wsItems.Cells["S" + rowId].Value = productVariants[i].Barcode; wsItems.Cells["T" + rowId].Value = productVariants[i].ManufacturerPartNumber; wsItems.Cells["AG" + rowId].Value = (productVariants[i].ETag != null) ? productVariants[i].ETag.Name : String.Empty; }
public GetStockReportFile(IGetStockRemainingQuantity getStockRemainingQuantity, ICSVFileWriter csvFileWriter) { _getStockRemainingQuantity = getStockRemainingQuantity; _csvFileWriter = csvFileWriter; }
private static void AddVariantInfo(int i, ExcelWorksheet wsItems, IList <ProductVariant> productVariants, int rowId, IGetStockRemainingQuantity getStockRemainingQuantity) { wsItems.Cells["K" + rowId].Value = productVariants[i].Name ?? String.Empty; wsItems.Cells["L" + rowId].Value = productVariants[i].BasePrice; wsItems.Cells["M" + rowId].Value = productVariants[i].PreviousPrice; if (productVariants[i].TaxRate != null) { wsItems.Cells["N" + rowId].Value = productVariants[i].TaxRate.Id; } wsItems.Cells["O" + rowId].Value = productVariants[i].Weight; wsItems.Cells["P" + rowId].Value = getStockRemainingQuantity.Get(productVariants[i]); wsItems.Cells["Q" + rowId].Value = productVariants[i].TrackingPolicy; wsItems.Cells["R" + rowId].Value = productVariants[i].SKU; wsItems.Cells["S" + rowId].Value = productVariants[i].Barcode; wsItems.Cells["T" + rowId].Value = productVariants[i].ManufacturerPartNumber; wsItems.Cells["AG" + rowId].Value = (productVariants[i].ETag != null) ? productVariants[i].ETag.Name : String.Empty; }