Interface SkuBundleItem
- All Superinterfaces:
org.broadleafcommerce.common.copy.MultiTenantCloneable<SkuBundleItem>,Serializable
- All Known Implementing Classes:
SkuBundleItemImpl
@Deprecated
public interface SkuBundleItem
extends Serializable, org.broadleafcommerce.common.copy.MultiTenantCloneable<SkuBundleItem>
Deprecated.
instead, use the ProductType Module's Product Add-Ons to build and configure bundles
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
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Removes any currently stored dynamic pricingDeprecated.getId()Deprecated.Deprecated.org.broadleafcommerce.common.money.MoneyDeprecated.org.broadleafcommerce.common.money.MoneyDeprecated.Deprecated.Get the sequence order.getSku()Deprecated.voidsetBundle(ProductBundle bundle) Deprecated.voidDeprecated.voidsetQuantity(Integer quantity) Deprecated.voidsetSalePrice(org.broadleafcommerce.common.money.Money salePrice) Deprecated.Allows for overriding the related Product's sale price.voidsetSequence(BigDecimal sequence) Deprecated.Set the order the item shows up in the display.voidDeprecated.Methods inherited from interface org.broadleafcommerce.common.copy.MultiTenantCloneable
createOrRetrieveCopyInstance
-
Method Details
-
getId
Long getId()Deprecated. -
setId
Deprecated. -
getQuantity
Integer getQuantity()Deprecated. -
setQuantity
Deprecated. -
getSalePrice
org.broadleafcommerce.common.money.Money getSalePrice()Deprecated.- Returns:
- this itemSalePrice if it is set, getProduct().getDefaultSku().getSalePrice() if this item's itemSalePrice is null
-
setSalePrice
void setSalePrice(org.broadleafcommerce.common.money.Money salePrice) Deprecated.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
-
getBundle
ProductBundle getBundle()Deprecated. -
setBundle
Deprecated. -
getRetailPrice
org.broadleafcommerce.common.money.Money getRetailPrice()Deprecated. -
getSku
Sku getSku()Deprecated. -
setSku
Deprecated. -
clearDynamicPrices
void clearDynamicPrices()Deprecated.Removes any currently stored dynamic pricing -
getSequence
BigDecimal getSequence()Deprecated.Get the sequence order.- Returns:
-
setSequence
Deprecated.Set the order the item shows up in the display.- Parameters:
sequence-
-