public ShoppingCartModel() { Items = new List <ShoppingCartItemModel>(); Warnings = new List <string>(); DiscountBox = new DiscountBoxModel(); GiftCardBox = new GiftCardBoxModel(); CheckoutAttributes = new List <CheckoutAttributeModel>(); OrderReviewData = new OrderReviewDataModel(); ButtonPaymentMethodViewComponentNames = new List <string>(); }
public ShoppingCartModel() { Items = new List<ShoppingCartItemModel>(); Warnings = new List<string>(); EstimateShipping = new EstimateShippingModel(); DiscountBox = new DiscountBoxModel(); GiftCardBox = new GiftCardBoxModel(); CheckoutAttributes = new List<CheckoutAttributeModel>(); OrderReviewData = new OrderReviewDataModel(); ButtonPaymentMethods = new ButtonPaymentMethodModel(); }
public ShoppingCartModel() { Items = new List <ShoppingCartItemModel>(); Warnings = new List <string>(); EstimateShipping = new EstimateShippingModel(); DiscountBox = new DiscountBoxModel(); GiftCardBox = new GiftCardBoxModel(); CheckoutAttributes = new List <CheckoutAttributeModel>(); OrderReviewData = new OrderReviewDataModel(); ButtonPaymentMethods = new ButtonPaymentMethodModel(); }
public ShoppingCartModel() { Items = new List<ShoppingCartItemModel>(); Warnings = new List<string>(); EstimateShipping = new EstimateShippingModel(); DiscountBox = new DiscountBoxModel(); GiftCardBox = new GiftCardBoxModel(); CheckoutAttributes = new List<CheckoutAttributeModel>(); OrderReviewData = new OrderReviewDataModel(); ButtonPaymentMethodActionNames = new List<string>(); ButtonPaymentMethodControllerNames = new List<string>(); ButtonPaymentMethodRouteValues = new List<RouteValueDictionary>(); }
public ShoppingCartModel() { Items = new List <ShoppingCartItemModel>(); Warnings = new List <string>(); EstimateShipping = new EstimateShippingModel(); DiscountBox = new DiscountBoxModel(); GiftCardBox = new GiftCardBoxModel(); CheckoutAttributes = new List <CheckoutAttributeModel>(); OrderReviewData = new OrderReviewDataModel(); ButtonPaymentMethodActionNames = new List <string>(); ButtonPaymentMethodControllerNames = new List <string>(); ButtonPaymentMethodRouteValues = new List <RouteValueDictionary>(); }
public ShoppingCartModel(IWorkContext workContext, IOrderService orderService, IProductService productService, IShoppingCartService shoppingCartService) { _shoppingCartService = shoppingCartService; _productService = productService; _orderService = orderService; _workContext = workContext; Items = new List <ShoppingCartItemModel>(); Warnings = new List <string>(); DiscountBox = new DiscountBoxModel(); GiftCardBox = new GiftCardBoxModel(); CheckoutAttributes = new List <CheckoutAttributeModel>(); OrderReviewData = new OrderReviewDataModel(); ButtonPaymentMethodViewComponentNames = new List <string>(); }