Class SkuBundleItemWrapper

java.lang.Object
org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
com.broadleafcommerce.rest.api.wrapper.SkuBundleItemWrapper
All Implemented Interfaces:
Serializable, org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.SkuBundleItem>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class SkuBundleItemWrapper extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.SkuBundleItem>
See Also:
  • Field Details

    • id

      protected Long id
    • quantity

      protected Integer quantity
    • salePrice

      protected org.broadleafcommerce.common.money.Money salePrice
    • retailPrice

      protected org.broadleafcommerce.common.money.Money retailPrice
    • bundleId

      protected Long bundleId
    • sku

      protected SkuWrapper sku
    • name

      protected String name
    • active

      protected Boolean active
    • description

      protected String description
    • longDescription

      protected String longDescription
    • archived

      protected Character archived
  • Constructor Details

    • SkuBundleItemWrapper

      public SkuBundleItemWrapper()
  • Method Details

    • wrapDetails

      public void wrapDetails(org.broadleafcommerce.core.catalog.domain.SkuBundleItem model, jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      wrapDetails in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.SkuBundleItem>
    • wrapSummary

      public void wrapSummary(org.broadleafcommerce.core.catalog.domain.SkuBundleItem model, jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      wrapSummary in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.catalog.domain.SkuBundleItem>
    • getId

      public Long getId()
      Returns:
      the id
    • setId

      public void setId(Long id)
      Parameters:
      id - the id to set
    • getQuantity

      public Integer getQuantity()
      Returns:
      the quantity
    • setQuantity

      public void setQuantity(Integer quantity)
      Parameters:
      quantity - the quantity to set
    • getSalePrice

      public org.broadleafcommerce.common.money.Money getSalePrice()
      Returns:
      the salePrice
    • setSalePrice

      public void setSalePrice(org.broadleafcommerce.common.money.Money salePrice)
      Parameters:
      salePrice - the salePrice to set
    • getRetailPrice

      public org.broadleafcommerce.common.money.Money getRetailPrice()
      Returns:
      the retailPrice
    • setRetailPrice

      public void setRetailPrice(org.broadleafcommerce.common.money.Money retailPrice)
      Parameters:
      retailPrice - the retailPrice to set
    • getBundleId

      public Long getBundleId()
      Returns:
      the bundleId
    • setBundleId

      public void setBundleId(Long bundleId)
      Parameters:
      bundleId - the bundleId to set
    • getSku

      public SkuWrapper getSku()
      Returns:
      the sku
    • setSku

      public void setSku(SkuWrapper sku)
      Parameters:
      sku - the sku to set
    • getName

      public String getName()
      Returns:
      the name
    • setName

      public void setName(String name)
      Parameters:
      name - the name to set
    • getActive

      public Boolean getActive()
      Returns:
      the active
    • setActive

      public void setActive(Boolean active)
      Parameters:
      active - the active to set
    • getDescription

      public String getDescription()
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Parameters:
      description - the description to set
    • getLongDescription

      public String getLongDescription()
      Returns:
      the longDescription
    • setLongDescription

      public void setLongDescription(String longDescription)
      Parameters:
      longDescription - the longDescription to set
    • getProductId

      public Long getProductId()
      Returns:
      the productId
    • setProductId

      public void setProductId(Long productId)
      Parameters:
      productId - the productId to set
    • getArchived

      public Character getArchived()
    • setArchived

      public void setArchived(Character archived)