com.liferay.portlet.shopping.model
Interface ShoppingCart
- All Superinterfaces:
- AuditedModel, BaseModel<ShoppingCart>, ClassedModel, Cloneable, Comparable<ShoppingCart>, GroupedModel, PersistedModel, Serializable, ShoppingCartModel
- All Known Implementing Classes:
- ShoppingCartWrapper
public interface ShoppingCart
- extends ShoppingCartModel, PersistedModel
The extended model interface for the ShoppingCart service. Represents a row in the "ShoppingCart" database table, with each column mapped to a property of this class.
- See Also:
ShoppingCartModel
,
ShoppingCartImpl
,
ShoppingCartModelImpl
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, setExpandoBridgeAttributes, setGroupId, setInsure, setItemIds, setModifiedDate, setNew, setPrimaryKey, setPrimaryKeyObj, setUserId, setUserName, setUserUuid, toCacheModel, toEscapedModel, toString, toUnescapedModel, 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()