org.broadleafcommerce.core.order.domain
Interface BundleOrderItem

All Superinterfaces:
OrderItem, Serializable, SkuAccessor
All Known Implementing Classes:
BundleOrderItemImpl

public interface BundleOrderItem
extends OrderItem, SkuAccessor


Method Summary
 Money getBaseRetailPrice()
           
 Money getBaseSalePrice()
           
 List<BundleOrderItemFeePrice> getBundleOrderItemFeePrices()
           
 List<DiscreteOrderItem> getDiscreteOrderItems()
           
 Product getProduct()
          Same as getProductBundle.
 ProductBundle getProductBundle()
          Returns the associated ProductBundle or null if not applicable.
 Sku getSku()
          For BundleOrderItem created from a ProductBundle, this will represent the default sku of the product bundle.
 Money getTaxablePrice()
           
 boolean hasAdjustedItems()
           
 void setBaseRetailPrice(Money baseRetailPrice)
           
 void setBaseSalePrice(Money baseSalePrice)
           
 void setBundleOrderItemFeePrices(List<BundleOrderItemFeePrice> bundleOrderItemFeePrices)
           
 void setDiscreteOrderItems(List<DiscreteOrderItem> discreteOrderItems)
           
 void setProductBundle(ProductBundle bundle)
          Sets the ProductBundle associated with this BundleOrderItem.
 void setSku(Sku sku)
           
 boolean shouldSumItems()
           
 
Methods inherited from interface org.broadleafcommerce.core.order.domain.OrderItem
accept, addCandidateItemOffer, assignFinalPrice, clone, getAdjustmentValue, getCandidateItemOffers, getCategory, getCurrentPrice, getGiftWrapOrderItem, getId, getIsDiscounted, getIsOnSale, getName, getOrder, getOrderItemAdjustments, getOrderItemAttributes, getOrderItemType, getPersonalMessage, getPrice, getPriceBeforeAdjustments, getQuantity, getRetailPrice, getSalePrice, getSplitParentItemId, isInCategory, isTaxable, removeAllAdjustments, removeAllCandidateItemOffers, setCandidateItemOffers, setCategory, setGiftWrapOrderItem, setId, setName, setOrder, setOrderItemAdjustments, setOrderItemAttributes, setOrderItemType, setPersonalMessage, setPrice, setQuantity, setRetailPrice, setSalePrice, setSplitParentItemId, setTaxable, updatePrices
 

Method Detail

getDiscreteOrderItems

List<DiscreteOrderItem> getDiscreteOrderItems()

setDiscreteOrderItems

void setDiscreteOrderItems(List<DiscreteOrderItem> discreteOrderItems)

getTaxablePrice

Money getTaxablePrice()
Specified by:
getTaxablePrice in interface OrderItem

getBundleOrderItemFeePrices

List<BundleOrderItemFeePrice> getBundleOrderItemFeePrices()

setBundleOrderItemFeePrices

void setBundleOrderItemFeePrices(List<BundleOrderItemFeePrice> bundleOrderItemFeePrices)

hasAdjustedItems

boolean hasAdjustedItems()

getBaseRetailPrice

Money getBaseRetailPrice()

setBaseRetailPrice

void setBaseRetailPrice(Money baseRetailPrice)

getBaseSalePrice

Money getBaseSalePrice()

setBaseSalePrice

void setBaseSalePrice(Money baseSalePrice)

getSku

Sku getSku()
For BundleOrderItem created from a ProductBundle, this will represent the default sku of the product bundle. This can be null for implementations that programatically create product bundles.

Specified by:
getSku in interface SkuAccessor
Returns:

setSku

void setSku(Sku sku)

getProductBundle

ProductBundle getProductBundle()
Returns the associated ProductBundle or null if not applicable. If null, then this ProductBundle was manually created.

Returns:

setProductBundle

void setProductBundle(ProductBundle bundle)
Sets the ProductBundle associated with this BundleOrderItem.

Parameters:
bundle -

getProduct

Product getProduct()
Same as getProductBundle.


shouldSumItems

boolean shouldSumItems()


Copyright © 2012. All Rights Reserved.