com.liferay.portlet.shopping.model
Interface ShoppingCart
- All Superinterfaces:
- BaseModel<ShoppingCart>, Cloneable, Comparable<ShoppingCart>, Serializable, ShoppingCartModel
- All Known Implementing Classes:
- ShoppingCartImpl, ShoppingCartWrapper
public interface ShoppingCart
- extends ShoppingCartModel
This interface is a model that represents the ShoppingCart table in the
database.
Customize ShoppingCartImpl and rerun the
ServiceBuilder to generate the new methods.
- See Also:
ShoppingCartModel,
ShoppingCartImpl,
ShoppingCartModelImpl- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
| Methods inherited from interface com.liferay.portlet.shopping.model.ShoppingCartModel |
clone, compareTo, getAltShipping, getCartId, getCompanyId, getCouponCodes, getCreateDate, getExpandoBridge, getGroupId, getInsure, getItemIds, getModifiedDate, getPrimaryKey, getPrimaryKeyObj, getUserId, getUserName, getUserUuid, hashCode, isCachedModel, isEscapedModel, isInsure, isNew, setAltShipping, setCachedModel, setCartId, setCompanyId, setCouponCodes, setCreateDate, setEscapedModel, setExpandoBridgeAttributes, setGroupId, setInsure, setItemIds, setModifiedDate, setNew, setPrimaryKey, setUserId, setUserName, setUserUuid, toEscapedModel, toString, toXmlString |
addItemId
void addItemId(long itemId,
String fields)
getCoupon
ShoppingCoupon getCoupon()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getItems
Map<ShoppingCartItem,Integer> getItems()
throws SystemException
- Throws:
SystemException
getItemsSize
int getItemsSize()