Class StoredCartItem
- java.lang.Object
-
- com.broadleafcommerce.cart.domain.StoredCartItem
-
- All Implemented Interfaces:
Serializable
public class StoredCartItem extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StoredCartItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
javax.money.MonetaryAmount
getAdjustmentsTotal()
Map<String,com.broadleafcommerce.order.common.domain.AttributeChoiceValue>
getAttributeChoices()
Map<String,List<com.broadleafcommerce.cart.client.domain.ConfigError>>
getAttributeConfigErrors()
Map<String,Object>
getAttributes()
String
getBrandId()
Set<String>
getCategoryIds()
String
getContextId()
javax.money.CurrencyUnit
getCurrency()
List<com.broadleafcommerce.cart.client.domain.CartItem>
getDependentCartItems()
com.broadleafcommerce.cart.client.domain.DependentItemDetails
getDependentItemDetails()
com.broadleafcommerce.cart.client.domain.ImageAssetRef
getImageAsset()
Map<String,Object>
getInternalAttributes()
List<com.broadleafcommerce.order.common.domain.Adjustment>
getItemAdjustments()
List<com.broadleafcommerce.cart.client.domain.ConfigError>
getItemConfigErrors()
String
getMerchandisingContext()
String
getMerchandisingTypeId()
String
getName()
List<com.broadleafcommerce.order.common.domain.OverrideDetail>
getOverrideDetails()
String
getPriceListId()
String
getPricingKey()
String
getPricingStrategy()
String
getProductId()
List<String>
getProductTags()
List<com.broadleafcommerce.order.common.domain.ProratedOfferAdjustment>
getProratedOrderOfferAdjustments()
int
getQuantity()
String
getSku()
javax.money.MonetaryAmount
getSubtotal()
String
getTargetDemographicId()
javax.money.MonetaryAmount
getTotal()
javax.money.MonetaryAmount
getTotalTax()
String
getType()
javax.money.MonetaryAmount
getUnitPrice()
String
getUnitPriceType()
String
getUri()
String
getVariantId()
String
getVendorRef()
int
hashCode()
boolean
isDiscountable()
boolean
isOverridePriceFlag()
boolean
isPriced()
boolean
isTaxable()
void
setAdjustmentsTotal(javax.money.MonetaryAmount adjustmentsTotal)
void
setAttributeChoices(Map<String,com.broadleafcommerce.order.common.domain.AttributeChoiceValue> attributeChoices)
void
setAttributeConfigErrors(Map<String,List<com.broadleafcommerce.cart.client.domain.ConfigError>> attributeConfigErrors)
void
setAttributes(Map<String,Object> attributes)
void
setBrandId(String brandId)
void
setCategoryIds(Set<String> categoryIds)
void
setContextId(String contextId)
void
setCurrency(javax.money.CurrencyUnit currency)
void
setDependentCartItems(List<com.broadleafcommerce.cart.client.domain.CartItem> dependentCartItems)
void
setDependentItemDetails(com.broadleafcommerce.cart.client.domain.DependentItemDetails dependentItemDetails)
void
setDiscountable(boolean discountable)
void
setImageAsset(com.broadleafcommerce.cart.client.domain.ImageAssetRef imageAsset)
void
setInternalAttributes(Map<String,Object> internalAttributes)
void
setItemAdjustments(List<com.broadleafcommerce.order.common.domain.Adjustment> itemAdjustments)
void
setItemConfigErrors(List<com.broadleafcommerce.cart.client.domain.ConfigError> itemConfigErrors)
void
setMerchandisingContext(String merchandisingContext)
void
setMerchandisingTypeId(String merchandisingTypeId)
void
setName(String name)
void
setOverrideDetails(List<com.broadleafcommerce.order.common.domain.OverrideDetail> overrideDetails)
void
setOverridePriceFlag(boolean overridePriceFlag)
void
setPriced(boolean isPriced)
void
setPriceListId(String priceListId)
void
setPricingKey(String pricingKey)
void
setPricingStrategy(String pricingStrategy)
void
setProductId(String productId)
void
setProductTags(List<String> productTags)
void
setProratedOrderOfferAdjustments(List<com.broadleafcommerce.order.common.domain.ProratedOfferAdjustment> proratedOrderOfferAdjustments)
void
setQuantity(int quantity)
void
setSku(String sku)
void
setSubtotal(javax.money.MonetaryAmount subtotal)
void
setTargetDemographicId(String targetDemographicId)
void
setTaxable(boolean taxable)
void
setTotal(javax.money.MonetaryAmount total)
void
setTotalTax(javax.money.MonetaryAmount totalTax)
void
setType(String type)
void
setUnitPrice(javax.money.MonetaryAmount unitPrice)
void
setUnitPriceType(String unitPriceType)
void
setUri(String uri)
void
setVariantId(String variantId)
void
setVendorRef(String vendorRef)
String
toString()
-
-
-
Method Detail
-
setUnitPrice
public void setUnitPrice(javax.money.MonetaryAmount unitPrice)
-
getUnitPrice
public javax.money.MonetaryAmount getUnitPrice()
-
setAdjustmentsTotal
public void setAdjustmentsTotal(javax.money.MonetaryAmount adjustmentsTotal)
-
getAdjustmentsTotal
public javax.money.MonetaryAmount getAdjustmentsTotal()
-
setSubtotal
public void setSubtotal(javax.money.MonetaryAmount subtotal)
-
getSubtotal
public javax.money.MonetaryAmount getSubtotal()
-
setTotalTax
public void setTotalTax(javax.money.MonetaryAmount totalTax)
-
getTotalTax
public javax.money.MonetaryAmount getTotalTax()
-
setTotal
public void setTotal(javax.money.MonetaryAmount total)
-
getTotal
public javax.money.MonetaryAmount getTotal()
-
getContextId
public String getContextId()
-
getName
public String getName()
-
getUri
public String getUri()
-
getQuantity
public int getQuantity()
-
isOverridePriceFlag
public boolean isOverridePriceFlag()
-
getCurrency
public javax.money.CurrencyUnit getCurrency()
-
getPriceListId
public String getPriceListId()
-
getUnitPriceType
public String getUnitPriceType()
-
getPricingStrategy
public String getPricingStrategy()
-
getPricingKey
public String getPricingKey()
-
getItemAdjustments
public List<com.broadleafcommerce.order.common.domain.Adjustment> getItemAdjustments()
-
getProratedOrderOfferAdjustments
public List<com.broadleafcommerce.order.common.domain.ProratedOfferAdjustment> getProratedOrderOfferAdjustments()
-
getVariantId
public String getVariantId()
-
getProductId
public String getProductId()
-
getSku
public String getSku()
-
getImageAsset
public com.broadleafcommerce.cart.client.domain.ImageAssetRef getImageAsset()
-
isDiscountable
public boolean isDiscountable()
-
getVendorRef
public String getVendorRef()
-
getMerchandisingContext
public String getMerchandisingContext()
-
getBrandId
public String getBrandId()
-
getMerchandisingTypeId
public String getMerchandisingTypeId()
-
getTargetDemographicId
public String getTargetDemographicId()
-
getDependentCartItems
public List<com.broadleafcommerce.cart.client.domain.CartItem> getDependentCartItems()
-
getDependentItemDetails
public com.broadleafcommerce.cart.client.domain.DependentItemDetails getDependentItemDetails()
-
getAttributeChoices
public Map<String,com.broadleafcommerce.order.common.domain.AttributeChoiceValue> getAttributeChoices()
-
isPriced
public boolean isPriced()
-
getAttributeConfigErrors
public Map<String,List<com.broadleafcommerce.cart.client.domain.ConfigError>> getAttributeConfigErrors()
-
getItemConfigErrors
public List<com.broadleafcommerce.cart.client.domain.ConfigError> getItemConfigErrors()
-
getOverrideDetails
public List<com.broadleafcommerce.order.common.domain.OverrideDetail> getOverrideDetails()
-
isTaxable
public boolean isTaxable()
-
getType
public String getType()
-
setContextId
public void setContextId(String contextId)
-
setName
public void setName(String name)
-
setUri
public void setUri(String uri)
-
setQuantity
public void setQuantity(int quantity)
-
setOverridePriceFlag
public void setOverridePriceFlag(boolean overridePriceFlag)
-
setCurrency
public void setCurrency(javax.money.CurrencyUnit currency)
-
setPriceListId
public void setPriceListId(String priceListId)
-
setUnitPriceType
public void setUnitPriceType(String unitPriceType)
-
setPricingStrategy
public void setPricingStrategy(String pricingStrategy)
-
setPricingKey
public void setPricingKey(String pricingKey)
-
setItemAdjustments
public void setItemAdjustments(List<com.broadleafcommerce.order.common.domain.Adjustment> itemAdjustments)
-
setProratedOrderOfferAdjustments
public void setProratedOrderOfferAdjustments(List<com.broadleafcommerce.order.common.domain.ProratedOfferAdjustment> proratedOrderOfferAdjustments)
-
setVariantId
public void setVariantId(String variantId)
-
setProductId
public void setProductId(String productId)
-
setSku
public void setSku(String sku)
-
setImageAsset
public void setImageAsset(com.broadleafcommerce.cart.client.domain.ImageAssetRef imageAsset)
-
setDiscountable
public void setDiscountable(boolean discountable)
-
setVendorRef
public void setVendorRef(String vendorRef)
-
setMerchandisingContext
public void setMerchandisingContext(String merchandisingContext)
-
setBrandId
public void setBrandId(String brandId)
-
setMerchandisingTypeId
public void setMerchandisingTypeId(String merchandisingTypeId)
-
setTargetDemographicId
public void setTargetDemographicId(String targetDemographicId)
-
setDependentCartItems
public void setDependentCartItems(List<com.broadleafcommerce.cart.client.domain.CartItem> dependentCartItems)
-
setDependentItemDetails
public void setDependentItemDetails(com.broadleafcommerce.cart.client.domain.DependentItemDetails dependentItemDetails)
-
setAttributeChoices
public void setAttributeChoices(Map<String,com.broadleafcommerce.order.common.domain.AttributeChoiceValue> attributeChoices)
-
setPriced
public void setPriced(boolean isPriced)
-
setAttributeConfigErrors
public void setAttributeConfigErrors(Map<String,List<com.broadleafcommerce.cart.client.domain.ConfigError>> attributeConfigErrors)
-
setItemConfigErrors
public void setItemConfigErrors(List<com.broadleafcommerce.cart.client.domain.ConfigError> itemConfigErrors)
-
setOverrideDetails
public void setOverrideDetails(List<com.broadleafcommerce.order.common.domain.OverrideDetail> overrideDetails)
-
setTaxable
public void setTaxable(boolean taxable)
-
setType
public void setType(String type)
-
canEqual
protected boolean canEqual(Object other)
-
-