Class StoredCartItem
java.lang.Object
com.broadleafcommerce.cart.domain.StoredCartItem
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanjavax.money.MonetaryAmountjavax.money.CurrencyUnitList<com.broadleafcommerce.cart.client.domain.CartItem>com.broadleafcommerce.cart.client.domain.DependentItemDetailscom.broadleafcommerce.cart.client.domain.ImageAssetRefList<com.broadleafcommerce.order.common.domain.Adjustment>List<com.broadleafcommerce.cart.client.domain.ConfigError>getName()List<com.broadleafcommerce.order.common.domain.OverrideDetail>List<com.broadleafcommerce.order.common.domain.ProratedOfferAdjustment>intcom.broadleafcommerce.order.common.domain.RecurringPriceDetailgetSku()javax.money.MonetaryAmountjavax.money.MonetaryAmountgetTotal()javax.money.MonetaryAmountgetType()javax.money.MonetaryAmountgetUri()com.broadleafcommerce.order.common.domain.UsagePriceDetailinthashCode()booleanbooleanbooleanisPriced()booleanvoidsetAdjustmentsTotal(javax.money.MonetaryAmount adjustmentsTotal) voidsetAttributeChoices(Map<String, com.broadleafcommerce.order.common.domain.AttributeChoiceValue> attributeChoices) voidsetAttributeConfigErrors(Map<String, List<com.broadleafcommerce.cart.client.domain.ConfigError>> attributeConfigErrors) voidsetAttributes(Map<String, Object> attributes) voidsetBrandId(String brandId) voidsetCategoryIds(Set<String> categoryIds) voidsetContextId(String contextId) voidsetCurrency(javax.money.CurrencyUnit currency) voidsetDependentCartItems(List<com.broadleafcommerce.cart.client.domain.CartItem> dependentCartItems) voidsetDependentItemDetails(com.broadleafcommerce.cart.client.domain.DependentItemDetails dependentItemDetails) voidsetDiscountable(boolean discountable) voidsetImageAsset(com.broadleafcommerce.cart.client.domain.ImageAssetRef imageAsset) voidsetInternalAttributes(Map<String, Object> internalAttributes) voidsetItemAdjustments(List<com.broadleafcommerce.order.common.domain.Adjustment> itemAdjustments) voidsetItemConfigErrors(List<com.broadleafcommerce.cart.client.domain.ConfigError> itemConfigErrors) voidsetMerchandisingContext(String merchandisingContext) voidsetMerchandisingTypeId(String merchandisingTypeId) voidvoidsetOverrideDetails(List<com.broadleafcommerce.order.common.domain.OverrideDetail> overrideDetails) voidsetOverridePriceFlag(boolean overridePriceFlag) voidsetPriced(boolean isPriced) voidsetPriceListId(String priceListId) voidsetPricingKey(String pricingKey) voidsetPricingStrategy(String pricingStrategy) voidsetProductId(String productId) voidsetProductTags(List<String> productTags) voidsetProratedOrderOfferAdjustments(List<com.broadleafcommerce.order.common.domain.ProratedOfferAdjustment> proratedOrderOfferAdjustments) voidsetQuantity(int quantity) voidsetRecurringPrice(com.broadleafcommerce.order.common.domain.RecurringPriceDetail recurringPrice) voidvoidsetSubtotal(javax.money.MonetaryAmount subtotal) voidsetTargetDemographicId(String targetDemographicId) voidsetTaxable(boolean taxable) voidsetTermDurationLength(Integer termDurationLength) voidsetTermDurationType(String termDurationType) voidsetTotal(javax.money.MonetaryAmount total) voidsetTotalTax(javax.money.MonetaryAmount totalTax) voidvoidsetUnitPrice(javax.money.MonetaryAmount unitPrice) voidsetUnitPriceType(String unitPriceType) voidvoidsetUsagePrice(com.broadleafcommerce.order.common.domain.UsagePriceDetail usagePrice) voidsetVariantId(String variantId) voidsetVendorRef(String vendorRef) toString()
-
Constructor Details
-
StoredCartItem
public StoredCartItem()
-
-
Method Details
-
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
- See Also:
-
CartItem.getId()
-
getName
- See Also:
-
CartItem.getName()
-
getUri
- See Also:
-
CartItem.getUri()
-
getQuantity
public int getQuantity()- See Also:
-
CartItem.getQuantity()
-
isOverridePriceFlag
public boolean isOverridePriceFlag()- See Also:
-
CartItem.getOverrideDetails()
-
getCurrency
public javax.money.CurrencyUnit getCurrency()- See Also:
-
CartItem.getCurrency()
-
getPriceListId
- See Also:
-
CartItem.getPriceListId()
-
getRecurringPrice
public com.broadleafcommerce.order.common.domain.RecurringPriceDetail getRecurringPrice()- See Also:
-
CartItem.getRecurringPrice()
-
getUsagePrice
public com.broadleafcommerce.order.common.domain.UsagePriceDetail getUsagePrice()- See Also:
-
CartItem.getUsagePrice()
-
getTermDurationLength
- See Also:
-
CartItem.getTermDurationLength()
-
getTermDurationType
- See Also:
-
CartItem.getTermDurationType()
-
getUnitPriceType
- See Also:
-
CartItem.getUnitPriceType()
-
getPricingStrategy
- See Also:
-
CartItem.getPricingStrategy()
-
getPricingKey
- See Also:
-
CartItem.getPricingKey()
-
getItemAdjustments
- See Also:
-
CartItem.getItemAdjustments()
-
getProratedOrderOfferAdjustments
public List<com.broadleafcommerce.order.common.domain.ProratedOfferAdjustment> getProratedOrderOfferAdjustments()- See Also:
-
CartItem.getProratedOrderOfferAdjustments()
-
getVariantId
- See Also:
-
CartItem.getVariantId()
-
getProductId
- See Also:
-
CartItem.getProductId()
-
getCategoryIds
- See Also:
-
CartItem.getCategoryIds()
-
getProductTags
- See Also:
-
CartItem.getProductTags()
-
getSku
- See Also:
-
CartItem.getSku()
-
getImageAsset
public com.broadleafcommerce.cart.client.domain.ImageAssetRef getImageAsset()- See Also:
-
CartItem.getImageAsset()
-
isDiscountable
public boolean isDiscountable()- See Also:
-
CartItem.isDiscountable()
-
getVendorRef
- See Also:
-
CartItem.getVendorRef()
-
getMerchandisingContext
- See Also:
-
CartItem.getMerchandisingContext()
-
getBrandId
- See Also:
-
CartItem.getBrandId()
-
getMerchandisingTypeId
- See Also:
-
CartItem.getMerchandisingTypeId()
-
getTargetDemographicId
- See Also:
-
CartItem.getTargetDemographicId()
-
getDependentCartItems
- See Also:
-
CartItem.getDependentCartItems()
-
getDependentItemDetails
public com.broadleafcommerce.cart.client.domain.DependentItemDetails getDependentItemDetails()- See Also:
-
CartItem.getDependentItemDetails()
-
getAttributes
- See Also:
-
CartItem.getAttributes()
-
getInternalAttributes
- See Also:
-
CartItem.getInternalAttributes()
-
getAttributeChoices
public Map<String,com.broadleafcommerce.order.common.domain.AttributeChoiceValue> getAttributeChoices()- See Also:
-
CartItem.getAttributeChoices()
-
isPriced
public boolean isPriced()- See Also:
-
CartItem.isPriced()
-
getAttributeConfigErrors
public Map<String,List<com.broadleafcommerce.cart.client.domain.ConfigError>> getAttributeConfigErrors()- See Also:
-
CartItem.getAttributeConfigErrors()
-
getItemConfigErrors
- See Also:
-
CartItem.getDependentItemConfigErrors()
-
getOverrideDetails
- See Also:
-
CartItem.getOverrideDetails()
-
isTaxable
public boolean isTaxable()- See Also:
-
CartItem.isTaxable()
-
getType
- See Also:
-
CartItem.getType()
-
setContextId
- See Also:
-
CartItem.getId()
-
setName
- See Also:
-
CartItem.getName()
-
setUri
- See Also:
-
CartItem.getUri()
-
setQuantity
public void setQuantity(int quantity) - See Also:
-
CartItem.getQuantity()
-
setOverridePriceFlag
public void setOverridePriceFlag(boolean overridePriceFlag) - See Also:
-
CartItem.getOverrideDetails()
-
setCurrency
public void setCurrency(javax.money.CurrencyUnit currency) - See Also:
-
CartItem.getCurrency()
-
setPriceListId
- See Also:
-
CartItem.getPriceListId()
-
setRecurringPrice
public void setRecurringPrice(com.broadleafcommerce.order.common.domain.RecurringPriceDetail recurringPrice) - See Also:
-
CartItem.getRecurringPrice()
-
setUsagePrice
public void setUsagePrice(com.broadleafcommerce.order.common.domain.UsagePriceDetail usagePrice) - See Also:
-
CartItem.getUsagePrice()
-
setTermDurationLength
- See Also:
-
CartItem.getTermDurationLength()
-
setTermDurationType
- See Also:
-
CartItem.getTermDurationType()
-
setUnitPriceType
- See Also:
-
CartItem.getUnitPriceType()
-
setPricingStrategy
- See Also:
-
CartItem.getPricingStrategy()
-
setPricingKey
- See Also:
-
CartItem.getPricingKey()
-
setItemAdjustments
public void setItemAdjustments(List<com.broadleafcommerce.order.common.domain.Adjustment> itemAdjustments) - See Also:
-
CartItem.getItemAdjustments()
-
setProratedOrderOfferAdjustments
public void setProratedOrderOfferAdjustments(List<com.broadleafcommerce.order.common.domain.ProratedOfferAdjustment> proratedOrderOfferAdjustments) - See Also:
-
CartItem.getProratedOrderOfferAdjustments()
-
setVariantId
- See Also:
-
CartItem.getVariantId()
-
setProductId
- See Also:
-
CartItem.getProductId()
-
setCategoryIds
- See Also:
-
CartItem.getCategoryIds()
-
setProductTags
- See Also:
-
CartItem.getProductTags()
-
setSku
- See Also:
-
CartItem.getSku()
-
setImageAsset
public void setImageAsset(com.broadleafcommerce.cart.client.domain.ImageAssetRef imageAsset) - See Also:
-
CartItem.getImageAsset()
-
setDiscountable
public void setDiscountable(boolean discountable) - See Also:
-
CartItem.isDiscountable()
-
setVendorRef
- See Also:
-
CartItem.getVendorRef()
-
setMerchandisingContext
- See Also:
-
CartItem.getMerchandisingContext()
-
setBrandId
- See Also:
-
CartItem.getBrandId()
-
setMerchandisingTypeId
- See Also:
-
CartItem.getMerchandisingTypeId()
-
setTargetDemographicId
- See Also:
-
CartItem.getTargetDemographicId()
-
setDependentCartItems
public void setDependentCartItems(List<com.broadleafcommerce.cart.client.domain.CartItem> dependentCartItems) - See Also:
-
CartItem.getDependentCartItems()
-
setDependentItemDetails
public void setDependentItemDetails(com.broadleafcommerce.cart.client.domain.DependentItemDetails dependentItemDetails) - See Also:
-
CartItem.getDependentItemDetails()
-
setAttributes
- See Also:
-
CartItem.getAttributes()
-
setInternalAttributes
- See Also:
-
CartItem.getInternalAttributes()
-
setAttributeChoices
public void setAttributeChoices(Map<String, com.broadleafcommerce.order.common.domain.AttributeChoiceValue> attributeChoices) - See Also:
-
CartItem.getAttributeChoices()
-
setPriced
public void setPriced(boolean isPriced) - See Also:
-
CartItem.isPriced()
-
setAttributeConfigErrors
public void setAttributeConfigErrors(Map<String, List<com.broadleafcommerce.cart.client.domain.ConfigError>> attributeConfigErrors) - See Also:
-
CartItem.getAttributeConfigErrors()
-
setItemConfigErrors
public void setItemConfigErrors(List<com.broadleafcommerce.cart.client.domain.ConfigError> itemConfigErrors) - See Also:
-
CartItem.getDependentItemConfigErrors()
-
setOverrideDetails
public void setOverrideDetails(List<com.broadleafcommerce.order.common.domain.OverrideDetail> overrideDetails) - See Also:
-
CartItem.getOverrideDetails()
-
setTaxable
public void setTaxable(boolean taxable) - See Also:
-
CartItem.isTaxable()
-
setType
- See Also:
-
CartItem.getType()
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-