Class ShoppingCart

  • All Implemented Interfaces:
    java.io.Serializable

    @TypeAlias("ShoppingCart")
    public class ShoppingCart
    extends Auditable<java.lang.String>
    Shopping cart entity.
    See Also:
    Serialized Form
    • Field Detail

      • id

        private java.lang.String id
      • sellerId

        private java.lang.String sellerId
    • Constructor Detail

      • ShoppingCart

        public ShoppingCart()
    • Method Detail

      • findItemByCommerceItemId

        public java.util.Optional<CommerceItem> findItemByCommerceItemId​(java.lang.String itemId)
      • findItemBySellerSkuId

        public java.util.Optional<CommerceItem> findItemBySellerSkuId​(java.lang.String sellerSkuId)
      • findItemBySellerSkuIdAndSpecs

        public java.util.Optional<CommerceItem> findItemBySellerSkuIdAndSpecs​(java.lang.String sellerSkuId,
                                                                              java.util.Map<java.lang.String,​java.lang.Object> specs)