/// <summary> /// Initializes a new instance of the <see cref="CreateOrderActionPresenter" /> class. /// </summary> /// <param name="view">The view.</param> /// <param name="orderSecurity">The merchant order security.</param> /// <param name="orderFactory">The order factory.</param> /// <param name="orderManager">The order manager.</param> /// <param name="stateConfiguration">The state configuration.</param> public CreateOrderActionPresenter([NotNull] ICreateOrderActionView view, [NotNull] MerchantOrderSecurity orderSecurity, [NotNull] IOrderFactory orderFactory, [NotNull] MerchantOrderManager orderManager, [NotNull] MerchantOrderStateConfiguration stateConfiguration) { Assert.ArgumentNotNull(view, "view"); Assert.ArgumentNotNull(orderSecurity, "orderSecurity"); Assert.ArgumentNotNull(orderFactory, "orderFactory"); Assert.ArgumentNotNull(orderManager, "orderManager"); Assert.ArgumentNotNull(stateConfiguration, "stateConfiguration"); this.view = view; this.orderSecurity = orderSecurity; this.orderFactory = orderFactory; this.orderManager = orderManager; this.stateConfiguration = stateConfiguration; }
/// <summary> /// Initializes a new instance of the <see cref="OrderStateProcessingStrategy" /> class. /// </summary> /// <param name="orderStateConfiguration">The order state configuration.</param> public OrderStateProcessingStrategy(MerchantOrderStateConfiguration orderStateConfiguration) { this.orderStateConfiguration = orderStateConfiguration; }
/// <summary> /// Initializes a new instance of the <see cref="OrderStateProcessingStrategy" /> class. /// </summary> /// <param name="orderStateConfiguration">The order state configuration.</param> public OrderStateProcessingStrategy(MerchantOrderStateConfiguration orderStateConfiguration) { this.orderStateConfiguration = orderStateConfiguration; }
/// <summary> /// Initializes a new instance of the <see cref="ShipOrderProcessingStrategy" /> class. /// </summary> /// <param name="orderStateConfiguration">The order state configuration.</param> public ShipOrderProcessingStrategy(MerchantOrderStateConfiguration orderStateConfiguration) : base(orderStateConfiguration) { }
/// <summary> /// Initializes a new instance of the <see cref="PackOrderProcessingStrategy" /> class. /// </summary> /// <param name="orderStateConfiguration">The order state configuration.</param> public PackOrderProcessingStrategy(MerchantOrderStateConfiguration orderStateConfiguration) : base(orderStateConfiguration) { }
/// <summary> /// Initializes a new instance of the <see cref="SuspiciousProductQuantityOrderProcessingStrategy" /> class. /// </summary> /// <param name="orderStateConfiguration">The order state configuration.</param> public SuspiciousProductQuantityOrderProcessingStrategy(MerchantOrderStateConfiguration orderStateConfiguration) : base(orderStateConfiguration) { }
/// <summary> /// Initializes a new instance of the <see cref="SuspiciousProductQuantityOrderProcessingStrategy" /> class. /// </summary> /// <param name="orderStateConfiguration">The order state configuration.</param> public SuspiciousProductQuantityOrderProcessingStrategy(MerchantOrderStateConfiguration orderStateConfiguration) : base(orderStateConfiguration) { }