Class InventoryWrapper

java.lang.Object
org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
com.broadleafcommerce.rest.api.wrapper.InventoryWrapper
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class InventoryWrapper extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
  • Field Details

    • skuId

      protected Long skuId
    • quantityAvailable

      protected Integer quantityAvailable
    • inventoryType

      protected String inventoryType
  • Constructor Details

    • InventoryWrapper

      public InventoryWrapper()
  • Method Details

    • getSkuId

      public Long getSkuId()
    • setSkuId

      public void setSkuId(Long skuId)
    • getQuantityAvailable

      public Integer getQuantityAvailable()
    • setQuantityAvailable

      public void setQuantityAvailable(Integer quantityAvailable)
    • getInventoryType

      public String getInventoryType()
    • setInventoryType

      public void setInventoryType(String inventoryType)
    • wrapDetails

      public void wrapDetails(org.broadleafcommerce.core.catalog.domain.Sku sku, Integer quantityAvailable, jakarta.servlet.http.HttpServletRequest request)
    • wrapSummary

      public void wrapSummary(org.broadleafcommerce.core.catalog.domain.Sku sku, Integer quantity, jakarta.servlet.http.HttpServletRequest request)