Class SkuBundleItemImpl
java.lang.Object
org.broadleafcommerce.core.catalog.domain.SkuBundleItemImpl
- All Implemented Interfaces:
Serializable,MultiTenantCloneable<SkuBundleItem>,SkuBundleItem,SkuBundleItemAdminPresentation
@Deprecated
@Entity
public class SkuBundleItemImpl
extends Object
implements SkuBundleItem, SkuBundleItemAdminPresentation
Deprecated.
instead, use the ProductType Module's Product Add-Ons to build and configure bundles
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.broadleafcommerce.core.catalog.domain.SkuBundleItemAdminPresentation
SkuBundleItemAdminPresentation.FieldOrder, SkuBundleItemAdminPresentation.GroupName, SkuBundleItemAdminPresentation.GroupOrder, SkuBundleItemAdminPresentation.TabName, SkuBundleItemAdminPresentation.TabOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ProductBundleDeprecated.protected ProductBundleDeprecated.protected SkuDeprecated.protected DynamicSkuPricesDeprecated.protected LongDeprecated.The id.protected BigDecimalDeprecated.protected IntegerDeprecated.protected BigDecimalDeprecated.The display order.protected SkuDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Removes any currently stored dynamic pricing<G extends SkuBundleItem>
CreateResponse<G>Deprecated.booleanDeprecated.Deprecated.getDynamicSalePrice(Sku sku, BigDecimal salePrice) Deprecated.getId()Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Get the sequence order.getSku()Deprecated.inthashCode()Deprecated.voidsetBundle(ProductBundle bundle) Deprecated.voidDeprecated.voidsetQuantity(Integer quantity) Deprecated.voidsetSalePrice(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.
-
Field Details
-
id
Deprecated.The id. -
quantity
Deprecated. -
itemSalePrice
Deprecated. -
bundle
Deprecated. -
sku
Deprecated. -
sequence
Deprecated.The display order. -
dynamicPrices
Deprecated. -
deproxiedSku
Deprecated. -
deproxiedBundle
Deprecated.
-
-
Constructor Details
-
SkuBundleItemImpl
public SkuBundleItemImpl()Deprecated.
-
-
Method Details
-
getId
Deprecated.- Specified by:
getIdin interfaceSkuBundleItem
-
setId
Deprecated.- Specified by:
setIdin interfaceSkuBundleItem
-
getQuantity
Deprecated.- Specified by:
getQuantityin interfaceSkuBundleItem
-
setQuantity
Deprecated.- Specified by:
setQuantityin interfaceSkuBundleItem
-
getDynamicSalePrice
Deprecated. -
getSalePrice
Deprecated.- Specified by:
getSalePricein interfaceSkuBundleItem- Returns:
- this itemSalePrice if it is set, getProduct().getDefaultSku().getSalePrice() if this item's itemSalePrice is null
-
setSalePrice
Deprecated.Description copied from interface:SkuBundleItemAllows 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()- Specified by:
setSalePricein interfaceSkuBundleItem
-
getRetailPrice
Deprecated.- Specified by:
getRetailPricein interfaceSkuBundleItem
-
getBundle
Deprecated.- Specified by:
getBundlein interfaceSkuBundleItem
-
setBundle
Deprecated.- Specified by:
setBundlein interfaceSkuBundleItem
-
getSku
Deprecated.- Specified by:
getSkuin interfaceSkuBundleItem
-
setSku
Deprecated.- Specified by:
setSkuin interfaceSkuBundleItem
-
getSequence
Deprecated.Description copied from interface:SkuBundleItemGet the sequence order.- Specified by:
getSequencein interfaceSkuBundleItem- Returns:
-
setSequence
Deprecated.Description copied from interface:SkuBundleItemSet the order the item shows up in the display.- Specified by:
setSequencein interfaceSkuBundleItem
-
clearDynamicPrices
public void clearDynamicPrices()Deprecated.Description copied from interface:SkuBundleItemRemoves any currently stored dynamic pricing- Specified by:
clearDynamicPricesin interfaceSkuBundleItem
-
createOrRetrieveCopyInstance
public <G extends SkuBundleItem> CreateResponse<G> createOrRetrieveCopyInstance(MultiTenantCopyContext context) throws CloneNotSupportedException Deprecated.- Specified by:
createOrRetrieveCopyInstancein interfaceMultiTenantCloneable<SkuBundleItem>- Throws:
CloneNotSupportedException
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-