Class CartItem
java.lang.Object
com.broadleafcommerce.inventory.service.provider.domain.CartItem
Summarization of cart item fields relevant for creating an inventory reservation request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetId()Miscellaneous internal attributes for this item.getSku()inthashCode()voidsetDependentCartItems(List<CartItem> dependentCartItems) voidvoidsetInternalAttributes(Map<String, Object> internalAttributes) Miscellaneous internal attributes for this item.voidtoString()
-
Constructor Details
-
CartItem
public CartItem()
-
-
Method Details
-
getId
-
getSku
-
getDependentCartItems
-
getInternalAttributes
Miscellaneous internal attributes for this item. This map is used for attributes that assist in the internal working of Broadleaf MicroServices. For example, attributes to help with pricing of dependent items.- Returns:
- Miscellaneous internal attributes for this item.
-
setId
-
setSku
-
setDependentCartItems
-
setInternalAttributes
Miscellaneous internal attributes for this item. This map is used for attributes that assist in the internal working of Broadleaf MicroServices. For example, attributes to help with pricing of dependent items.- Parameters:
internalAttributes- Miscellaneous internal attributes for this item.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-