org.broadleafcommerce.core.order.domain
Class BundleOrderItemImpl
java.lang.Object
org.broadleafcommerce.core.order.domain.OrderItemImpl
org.broadleafcommerce.core.order.domain.BundleOrderItemImpl
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, BundleOrderItem, OrderItem
@Entity
public class BundleOrderItemImpl
- extends OrderItemImpl
- implements BundleOrderItem
- See Also:
- Serialized Form
| Fields inherited from class org.broadleafcommerce.core.order.domain.OrderItemImpl |
adjustmentPrice, candidateItemOffers, category, giftWrapOrderItem, id, markedForOffer, name, order, orderItemAdjustments, orderItemType, personalMessage, price, promotionDiscounts, promotionQualifiers, quantity, retailPrice, salePrice |
| Methods inherited from class org.broadleafcommerce.core.order.domain.OrderItemImpl |
addCandidateItemOffer, addOrderItemAdjustment, addPromotionDiscount, addPromotionQualifier, checkCloneable, clearAllDiscount, clearAllNonFinalizedDiscounts, clearAllNonFinalizedQualifiers, clearAllNonFinalizedQuantities, clearAllQualifiers, clone, finalizeQuantities, getAdjustmentValue, getCandidateItemOffers, getCategory, getGiftWrapOrderItem, getId, getIsDiscounted, getIsOnSale, getMarkedForOffer, getName, getOrder, getOrderItemAdjustments, getOrderItemType, getPersonalMessage, getPrice, getPriceBeforeAdjustments, getPromotionDiscountMismatchQuantity, getPromotionDiscounts, getPromotionQualifiers, getQuantity, getQuantityAvailableToBeUsedAsQualifier, getQuantityAvailableToBeUsedAsTarget, isAllQuantityMarkedForOffer, isHasOrderItemAdjustments, isInCategory, isNotCombinableOfferApplied, lookupOrCreatePromotionDiscount, lookupOrCreatePromotionQualifier, markForOffer, setAdjustmentPrice, setCandidateItemOffers, setCategory, setGiftWrapOrderItem, setId, setName, setOrder, setOrderItemAdjustments, setOrderItemType, setPersonalMessage, setPrice, setPromotionDiscounts, setPromotionQualifiers, setQuantity, setRetailPrice, setSalePrice, split, unmarkForOffer |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.broadleafcommerce.core.order.domain.OrderItem |
addCandidateItemOffer, addOrderItemAdjustment, addPromotionDiscount, addPromotionQualifier, clearAllDiscount, clearAllNonFinalizedQuantities, clearAllQualifiers, clone, finalizeQuantities, getAdjustmentValue, getCandidateItemOffers, getCategory, getGiftWrapOrderItem, getId, getIsDiscounted, getIsOnSale, getMarkedForOffer, getName, getOrder, getOrderItemAdjustments, getOrderItemType, getPersonalMessage, getPrice, getPriceBeforeAdjustments, getPromotionDiscounts, getPromotionQualifiers, getQuantity, getQuantityAvailableToBeUsedAsQualifier, getQuantityAvailableToBeUsedAsTarget, isAllQuantityMarkedForOffer, isHasOrderItemAdjustments, isInCategory, isNotCombinableOfferApplied, markForOffer, setAdjustmentPrice, setCandidateItemOffers, setCategory, setGiftWrapOrderItem, setId, setName, setOrder, setOrderItemType, setPersonalMessage, setPrice, setPromotionDiscounts, setPromotionQualifiers, setQuantity, setRetailPrice, setSalePrice, split, unmarkForOffer |
discreteOrderItems
protected java.util.List<DiscreteOrderItem> discreteOrderItems
bundleOrderItemFeePrices
protected java.util.List<BundleOrderItemFeePrice> bundleOrderItemFeePrices
BundleOrderItemImpl
public BundleOrderItemImpl()
getDiscreteOrderItems
public java.util.List<DiscreteOrderItem> getDiscreteOrderItems()
- Specified by:
getDiscreteOrderItems in interface BundleOrderItem
setDiscreteOrderItems
public void setDiscreteOrderItems(java.util.List<DiscreteOrderItem> discreteOrderItems)
- Specified by:
setDiscreteOrderItems in interface BundleOrderItem
getBundleOrderItemFeePrices
public java.util.List<BundleOrderItemFeePrice> getBundleOrderItemFeePrices()
- Specified by:
getBundleOrderItemFeePrices in interface BundleOrderItem
setBundleOrderItemFeePrices
public void setBundleOrderItemFeePrices(java.util.List<BundleOrderItemFeePrice> bundleOrderItemFeePrices)
- Specified by:
setBundleOrderItemFeePrices in interface BundleOrderItem
removeAllCandidateItemOffers
public void removeAllCandidateItemOffers()
- Specified by:
removeAllCandidateItemOffers in interface OrderItem- Overrides:
removeAllCandidateItemOffers in class OrderItemImpl
removeAllAdjustments
public int removeAllAdjustments()
- Description copied from interface:
OrderItem
- Removes all adjustment for this order item and reset the adjustment price.
- Specified by:
removeAllAdjustments in interface OrderItem- Overrides:
removeAllAdjustments in class OrderItemImpl
assignFinalPrice
public void assignFinalPrice()
- Specified by:
assignFinalPrice in interface OrderItem- Overrides:
assignFinalPrice in class OrderItemImpl
getTaxablePrice
public Money getTaxablePrice()
- Specified by:
getTaxablePrice in interface BundleOrderItem- Specified by:
getTaxablePrice in interface OrderItem- Overrides:
getTaxablePrice in class OrderItemImpl
getRetailPrice
public Money getRetailPrice()
- Specified by:
getRetailPrice in interface OrderItem- Overrides:
getRetailPrice in class OrderItemImpl
getSalePrice
public Money getSalePrice()
- Specified by:
getSalePrice in interface OrderItem- Overrides:
getSalePrice in class OrderItemImpl
getAdjustmentPrice
public Money getAdjustmentPrice()
- Specified by:
getAdjustmentPrice in interface OrderItem- Overrides:
getAdjustmentPrice in class OrderItemImpl
getCurrentPrice
public Money getCurrentPrice()
- Specified by:
getCurrentPrice in interface OrderItem- Overrides:
getCurrentPrice in class OrderItemImpl
updatePrices
public boolean updatePrices()
- Specified by:
updatePrices in interface OrderItem- Overrides:
updatePrices in class OrderItemImpl
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class OrderItemImpl
hashCode
public int hashCode()
- Overrides:
hashCode in class OrderItemImpl
Copyright © 2011. All Rights Reserved.