Пример #1
0
 public ShoppingCartModel()
 {
     Items            = new List <CartItemModel>();
     DiscountBox      = new DiscountBoxModel();
     LoyaltyBox       = new LoyaltyBoxModel();
     OrderReviewData  = new OrderReviewDataModel();
     EstimateShipping = new EstimateShippingModel();
 }
Пример #2
0
 public ShoppingCartModel()
 {
     Items              = new List <ShoppingCartItemModel>();
     Warnings           = new List <string>();
     DiscountBox        = new DiscountBoxModel();
     GiftVoucherBox     = new GiftVoucherBoxModel();
     CheckoutAttributes = new List <CheckoutAttributeModel>();
     OrderReviewData    = new OrderReviewDataModel();
 }
Пример #3
0
 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();
        }
Пример #5
0
        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();
        }
Пример #6
0
        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>();
        }
Пример #7
0
        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>();
        }
Пример #8
0
        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>();
        }