public ShipAmazonOrderService(ISession session, IAmazonOrderRequestService amazonOrderRequestService,
                               IAmazonFeedsApiService amazonFeedsApiService, IAmazonOrderService amazonOrderService)
 {
     _session = session;
     _amazonOrderRequestService = amazonOrderRequestService;
     _amazonFeedsApiService     = amazonFeedsApiService;
     _amazonOrderService        = amazonOrderService;
 }
 public ShipAmazonOrderService(ISession session, IAmazonOrderRequestService amazonOrderRequestService,
     IAmazonFeedsApiService amazonFeedsApiService, IAmazonOrderService amazonOrderService)
 {
     _session = session;
     _amazonOrderRequestService = amazonOrderRequestService;
     _amazonFeedsApiService = amazonFeedsApiService;
     _amazonOrderService = amazonOrderService;
 }
Example #3
0
 public ScheduleAmazonOrderSync(IImportAmazonOrderService importAmazonOrderService, IAmazonLogService amazonLogService,
                                IAmazonOrderService amazonOrderService, AmazonOrderSyncDataService amazonOrderSyncInfoService)
 {
     _importAmazonOrderService   = importAmazonOrderService;
     _amazonLogService           = amazonLogService;
     _amazonOrderService         = amazonOrderService;
     _amazonOrderSyncInfoService = amazonOrderSyncInfoService;
 }
 public ScheduleAmazonOrderSync(IImportAmazonOrderService importAmazonOrderService, IAmazonLogService amazonLogService,
                          IAmazonOrderService amazonOrderService, AmazonOrderSyncDataService amazonOrderSyncInfoService)
 {
     _importAmazonOrderService = importAmazonOrderService;
     _amazonLogService = amazonLogService;
     _amazonOrderService = amazonOrderService;
     _amazonOrderSyncInfoService = amazonOrderSyncInfoService;
 }
Example #5
0
 public UpdateAmazonOrder(IEnumerable<IPerformAmazonUpdates> amazonUpdates,
                          IEnumerable<IOnAmazonOrderPlaced> onAmazonOrderPlaceds,
                          IAmazonOrderService amazonOrderService, IAmazonOrderSyncDataService amazonOrderSyncDataService)
 {
     _amazonUpdates = amazonUpdates;
     _onAmazonOrderPlaceds = onAmazonOrderPlaceds;
     _amazonOrderService = amazonOrderService;
     _amazonOrderSyncDataService = amazonOrderSyncDataService;
 }
Example #6
0
 public OrdersController(IAmazonOrderService amazonOrderService, AmazonAppSettings amazonAppSettings,
                         IAmazonOrderSearchService amazonOrderSearchService, SiteSettings ecommerceSettings, IAmazonOrderSyncService amazonOrderSyncService)
 {
     _amazonOrderService       = amazonOrderService;
     _amazonAppSettings        = amazonAppSettings;
     _amazonOrderSearchService = amazonOrderSearchService;
     _ecommerceSettings        = ecommerceSettings;
     _amazonOrderSyncService   = amazonOrderSyncService;
 }
Example #7
0
 public UpdateAmazonOrder(IEnumerable <IPerformAmazonUpdates> amazonUpdates,
                          IEnumerable <IOnAmazonOrderPlaced> onAmazonOrderPlaceds,
                          IAmazonOrderService amazonOrderService, IAmazonOrderSyncDataService amazonOrderSyncDataService)
 {
     _amazonUpdates              = amazonUpdates;
     _onAmazonOrderPlaceds       = onAmazonOrderPlaceds;
     _amazonOrderService         = amazonOrderService;
     _amazonOrderSyncDataService = amazonOrderSyncDataService;
 }
 public OrdersControllerTests()
 {
     _amazonOrderService = A.Fake<IAmazonOrderService>();
     _amazonAppSettings = A.Fake<AmazonAppSettings>();
     _amazonOrderSearchService = A.Fake<IAmazonOrderSearchService>();
     _ecommerceSettings = new SiteSettings() { DefaultPageSize = 10 };
     _amazonOrderSyncService = A.Fake<IAmazonOrderSyncService>();
     _ordersController = new OrdersController(_amazonOrderService,_amazonAppSettings,
         _amazonOrderSearchService,_ecommerceSettings,_amazonOrderSyncService);
 }
Example #9
0
 public OrdersControllerTests()
 {
     _amazonOrderService       = A.Fake <IAmazonOrderService>();
     _amazonAppSettings        = A.Fake <AmazonAppSettings>();
     _amazonOrderSearchService = A.Fake <IAmazonOrderSearchService>();
     _ecommerceSettings        = new SiteSettings()
     {
         DefaultPageSize = 10
     };
     _amazonOrderSyncService = A.Fake <IAmazonOrderSyncService>();
     _ordersController       = new OrdersController(_amazonOrderService, _amazonAppSettings,
                                                    _amazonOrderSearchService, _ecommerceSettings, _amazonOrderSyncService);
 }
Example #10
0
 public CancelAmazonOrder(IOrderAdminService orderService, IAmazonOrderService amazonOrderService)
 {
     _orderService = orderService;
     _amazonOrderService = amazonOrderService;
 }
 public AmazonOrderTokenProvider(IAmazonOrderService amazonOrderService)
 {
     _amazonOrderService = amazonOrderService;
 }
Example #12
0
 public CancelAmazonOrder(IOrderAdminService orderService, IAmazonOrderService amazonOrderService)
 {
     _orderService       = orderService;
     _amazonOrderService = amazonOrderService;
 }
Example #13
0
 public OrderInfoController(IAmazonOrderService amazonOrderService)
 {
     _amazonOrderService = amazonOrderService;
 }