java.lang.Object
de.bytestore.hostinger.entity.ecommerce.Cart

@Entity(name="host_Cart") public class Cart extends Object
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 Details

    • Cart

      public Cart()
  • Method Details

    • setComment

      public void setComment(String comment)
    • getAmount

      public BigInteger getAmount()
    • setAmount

      public void setAmount(BigInteger amount)
    • setProduct

      public void setProduct(Product product)
    • getProduct

      public Product getProduct()
    • getId

      public UUID getId()
    • setId

      public void setId(UUID id)