public interface SmartListEntry
CartEntry
represents shopping cart line-items with a certain product and quantity.Modifier and Type | Method and Description |
---|---|
java.util.Calendar |
getCreated()
This method returns the date and time this smart list entry was created.
|
Product |
getProduct()
Get the referenced
Product . |
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
Returns the entry properties
|
<T> T |
getProperty(java.lang.String name,
java.lang.Class<T> type)
Get a smart list entry property with the given type.
|
int |
getQuantity()
Short cut to get the quantity value.
|
Product getProduct()
Product
.<T> T getProperty(java.lang.String name, java.lang.Class<T> type)
name
- The property's nametype
- The property's typenull
if it doesn't exist
or can not be converted to the given type.java.util.Map<java.lang.String,java.lang.Object> getProperties()
Map
.int getQuantity()
java.util.Calendar getCreated()
Calendar
representing the creation date and timeCopyright © 2010 - 2020 Adobe. All Rights Reserved