Uses of Class
com.esprit.models.products.ShoppingCart
Packages that use ShoppingCart
Package
Description
-
Uses of ShoppingCart in com.esprit.controllers.products
Fields in com.esprit.controllers.products declared as ShoppingCartModifier and TypeFieldDescription(package private) ShoppingCart
DetailsProductClientController.shoppingcart
(package private) ShoppingCart
ShoppingCartProductControllers.shoppingcart
Methods in com.esprit.controllers.products with parameters of type ShoppingCartModifier and TypeMethodDescriptionprivate javafx.scene.layout.VBox
ShoppingCartProductControllers.createProductVBox
(ShoppingCart ShoppingCart) Generates a `VBox` container for each product in the shopping cart, with buttons to decrease or increase the quantity and a label to display the total price.private void
ShoppingCartProductControllers.decreaseQuantity
(javafx.scene.control.TextField quantityTextField, ShoppingCart shoppingcart) Decreases the quantity of items in a shopping cart by one unit when the user types a negative value into a text field.private void
ShoppingCartProductControllers.increaseQuantity
(javafx.scene.control.TextField quantityTextField, ShoppingCart shoppingcart) Increases the quantity of an item in a shopping cart by 1, checking if the stock is available and displaying an alert if it's not. -
Uses of ShoppingCart in com.esprit.models.products
Fields in com.esprit.models.products with type parameters of type ShoppingCart -
Uses of ShoppingCart in com.esprit.services.products
Methods in com.esprit.services.products that return types with arguments of type ShoppingCartModifier and TypeMethodDescriptionShoppingCartService.read()
ShoppingCartService.readUserShoppingCart
(Long userId) Performs readUserShoppingCart operation.Methods in com.esprit.services.products with parameters of type ShoppingCartModifier and TypeMethodDescriptionvoid
ShoppingCartService.create
(ShoppingCart shoppingCart) void
ShoppingCartService.delete
(ShoppingCart shoppingCart) void
ShoppingCartService.update
(ShoppingCart shoppingCart)