public interface DiscreteOrderItem extends OrderItem, SkuAccessor, Cloneable
| Modifier and Type | Method and Description |
|---|---|
BundleOrderItem |
findParentItem()
For items that are part of a bundle, this method will return the parent bundle item.
|
Map<String,String> |
getAdditionalAttributes()
Deprecated.
use getOrderItemAttributes instead
|
Money |
getBaseRetailPrice() |
Money |
getBaseSalePrice() |
BundleOrderItem |
getBundleOrderItem()
If this item is part of a bundle, this method will return the containing bundle item.
|
List<DiscreteOrderItemFeePrice> |
getDiscreteOrderItemFeePrices() |
Product |
getProduct() |
Sku |
getSku() |
SkuBundleItem |
getSkuBundleItem()
If this item is part of a bundle that was created via a ProductBundle, then this
method returns a reference to the corresponding SkuBundleItem.
|
Money |
getTaxablePrice() |
boolean |
isSkuActive()
Returns a boolean indicating whether this sku is active.
|
void |
setAdditionalAttributes(Map<String,String> additionalAttributes)
Deprecated.
use setOrderItemAttributes instead
|
void |
setBaseRetailPrice(Money baseRetailPrice) |
void |
setBaseSalePrice(Money baseSalePrice) |
void |
setBundleOrderItem(BundleOrderItem bundleOrderItem)
Sets the parent bundle item.
|
void |
setDiscreteOrderItemFeePrices(List<DiscreteOrderItemFeePrice> orderItemFeePrices) |
void |
setProduct(Product product) |
void |
setSku(Sku sku) |
void |
setSkuBundleItem(SkuBundleItem skuBundleItem)
Sets the associated skuBundleItem.
|
addCandidateItemOffer, assignFinalPrice, clone, finalizePrice, getAdjustmentValue, getAverageAdjustmentValue, getAveragePrice, getCandidateItemOffers, getCategory, getChildOrderItems, getGiftWrapOrderItem, getId, getIsDiscounted, getIsOnSale, getName, getOrder, getOrderItemAdjustments, getOrderItemAttributes, getOrderItemPriceDetails, getOrderItemQualifiers, getOrderItemType, getParentOrderItem, getPersonalMessage, getPrice, getPriceBeforeAdjustments, getQuantity, getRetailPrice, getSalePrice, getTotalAdjustmentValue, getTotalPrice, getTotalPriceBeforeAdjustments, isAParentOf, isDiscountingAllowed, isInCategory, isRetailPriceOverride, isSalePriceOverride, isTaxable, removeAllAdjustments, removeAllCandidateItemOffers, setCandidateItemOffers, setCategory, setChildOrderItems, setDiscountingAllowed, setGiftWrapOrderItem, setId, setName, setOrder, setOrderItemAdjustments, setOrderItemAttributes, setOrderItemPriceDetails, setOrderItemQualifiers, setOrderItemType, setParentOrderItem, setPersonalMessage, setPrice, setQuantity, setRetailPrice, setRetailPriceOverride, setSalePrice, setSalePriceOverride, setTaxable, updateSaleAndRetailPricesSku getSku()
getSku in interface SkuAccessorvoid setSku(Sku sku)
Product getProduct()
void setProduct(Product product)
BundleOrderItem getBundleOrderItem()
void setBundleOrderItem(BundleOrderItem bundleOrderItem)
bundleOrderItem - SkuBundleItem getSkuBundleItem()
void setSkuBundleItem(SkuBundleItem skuBundleItem)
skuBundleItem - Money getTaxablePrice()
getTaxablePrice in interface OrderItemMap<String,String> getAdditionalAttributes()
void setAdditionalAttributes(Map<String,String> additionalAttributes)
additionalAttributes - the map of attributesMoney getBaseRetailPrice()
void setBaseRetailPrice(Money baseRetailPrice)
Money getBaseSalePrice()
void setBaseSalePrice(Money baseSalePrice)
List<DiscreteOrderItemFeePrice> getDiscreteOrderItemFeePrices()
void setDiscreteOrderItemFeePrices(List<DiscreteOrderItemFeePrice> orderItemFeePrices)
BundleOrderItem findParentItem()
boolean isSkuActive()
isSkuActive in interface OrderItemCopyright © 2014. All Rights Reserved.