Class Cart
java.lang.Object
de.bytestore.hostinger.entity.ecommerce.Cart
Represents a shopping cart entity for ecommerce purposes.
The cart stores information about a specific product, its amount,
and any associated comment.
The entity maps to the `HOST_CART` database table, which includes
an index on the `PRODUCT_ID` column.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()voidsetAmount(BigInteger amount) voidsetComment(String comment) voidvoidsetProduct(Product product)
-
Constructor Details
-
Cart
public Cart()
-
-
Method Details
-
setComment
-
getAmount
-
setAmount
-
setProduct
-
getProduct
-
getId
-
setId
-