コード例 #1
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>();
 }
コード例 #2
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();
        }
コード例 #3
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();
        }
コード例 #4
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>();
        }
コード例 #5
0
ファイル: ShoppingCartModel.cs プロジェクト: samynu/src
        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>();
        }
コード例 #6
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>();
        }