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
The model interface for the ShoppingCart service. Represents a row in the "ShoppingCart" database table, with each column mapped to a property of this class.
Never modify this interface directly. Add methods to ShoppingCartImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.
Never reference this interface directly. All methods that expect a shopping cart model instance should use the ShoppingCart
interface instead.
- 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()