org.broadleafcommerce.core.catalog.domain
Interface SkuBundleItem
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- SkuBundleItemImpl
public interface SkuBundleItem
- extends Serializable
Represents the Sku being sold in a bundle along with metadata
about the relationship itself like how many items should be included in the
bundle
- Author:
- Phillip Verheyden
- See Also:
ProductBundle, Product
getId
Long getId()
setId
void setId(Long id)
getQuantity
Integer getQuantity()
setQuantity
void setQuantity(Integer quantity)
setSalePrice
void setSalePrice(Money salePrice)
- Allows for overriding the related Product's sale price. This is only used
if the pricing model for the bundle is a composition of its parts
getProduct().getDefaultSku().getSalePrice()
- Parameters:
itemSalePrice - The sale price for this bundle item
getSalePrice
Money getSalePrice()
- Returns:
- this itemSalePrice if it is set,
getProduct().getDefaultSku().getSalePrice() if this item's itemSalePrice is
null
getBundle
ProductBundle getBundle()
setBundle
void setBundle(ProductBundle bundle)
getRetailPrice
Money getRetailPrice()
getSku
Sku getSku()
setSku
void setSku(Sku sku)
Copyright © 2013. All Rights Reserved.