Class SkuBundleItemImpl

java.lang.Object
org.broadleafcommerce.core.catalog.domain.SkuBundleItemImpl
All Implemented Interfaces:
Serializable, org.broadleafcommerce.common.copy.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:
  • Field Details

    • id

      protected Long id
      Deprecated.
      The id.
    • quantity

      protected Integer quantity
      Deprecated.
    • itemSalePrice

      protected BigDecimal itemSalePrice
      Deprecated.
    • bundle

      protected ProductBundle bundle
      Deprecated.
    • sku

      protected Sku sku
      Deprecated.
    • sequence

      protected BigDecimal sequence
      Deprecated.
      The display order.
    • dynamicPrices

      protected DynamicSkuPrices dynamicPrices
      Deprecated.
    • deproxiedSku

      protected Sku deproxiedSku
      Deprecated.
    • deproxiedBundle

      protected ProductBundle deproxiedBundle
      Deprecated.
  • Constructor Details

    • SkuBundleItemImpl

      public SkuBundleItemImpl()
      Deprecated.
  • Method Details

    • getId

      public Long getId()
      Deprecated.
      Specified by:
      getId in interface SkuBundleItem
    • setId

      public void setId(Long id)
      Deprecated.
      Specified by:
      setId in interface SkuBundleItem
    • getQuantity

      public Integer getQuantity()
      Deprecated.
      Specified by:
      getQuantity in interface SkuBundleItem
    • setQuantity

      public void setQuantity(Integer quantity)
      Deprecated.
      Specified by:
      setQuantity in interface SkuBundleItem
    • getDynamicSalePrice

      public org.broadleafcommerce.common.money.Money getDynamicSalePrice(Sku sku, BigDecimal salePrice)
      Deprecated.
    • getSalePrice

      public org.broadleafcommerce.common.money.Money getSalePrice()
      Deprecated.
      Specified by:
      getSalePrice in interface SkuBundleItem
      Returns:
      this itemSalePrice if it is set, getProduct().getDefaultSku().getSalePrice() if this item's itemSalePrice is null
    • setSalePrice

      public void setSalePrice(org.broadleafcommerce.common.money.Money salePrice)
      Deprecated.
      Description copied from interface: SkuBundleItem
      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()
      Specified by:
      setSalePrice in interface SkuBundleItem
    • getRetailPrice

      public org.broadleafcommerce.common.money.Money getRetailPrice()
      Deprecated.
      Specified by:
      getRetailPrice in interface SkuBundleItem
    • getBundle

      public ProductBundle getBundle()
      Deprecated.
      Specified by:
      getBundle in interface SkuBundleItem
    • setBundle

      public void setBundle(ProductBundle bundle)
      Deprecated.
      Specified by:
      setBundle in interface SkuBundleItem
    • getSku

      public Sku getSku()
      Deprecated.
      Specified by:
      getSku in interface SkuBundleItem
    • setSku

      public void setSku(Sku sku)
      Deprecated.
      Specified by:
      setSku in interface SkuBundleItem
    • getSequence

      public BigDecimal getSequence()
      Deprecated.
      Description copied from interface: SkuBundleItem
      Get the sequence order.
      Specified by:
      getSequence in interface SkuBundleItem
      Returns:
    • setSequence

      public void setSequence(BigDecimal sequence)
      Deprecated.
      Description copied from interface: SkuBundleItem
      Set the order the item shows up in the display.
      Specified by:
      setSequence in interface SkuBundleItem
    • clearDynamicPrices

      public void clearDynamicPrices()
      Deprecated.
      Description copied from interface: SkuBundleItem
      Removes any currently stored dynamic pricing
      Specified by:
      clearDynamicPrices in interface SkuBundleItem
    • createOrRetrieveCopyInstance

      public <G extends SkuBundleItem> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException
      Deprecated.
      Specified by:
      createOrRetrieveCopyInstance in interface org.broadleafcommerce.common.copy.MultiTenantCloneable<SkuBundleItem>
      Throws:
      CloneNotSupportedException
    • equals

      public boolean equals(Object obj)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object