public class InventoryWrapper extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<Inventory>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
id |
protected FulfillmentLocationWrapper |
location |
protected Integer |
quantityAvailable |
protected Integer |
quantityOnHand |
protected com.broadleafcommerce.rest.api.wrapper.SkuWrapper |
sku |
| Constructor and Description |
|---|
InventoryWrapper() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getQuantityOnHandEnabled() |
void |
wrapDetails(Inventory model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(Inventory model,
javax.servlet.http.HttpServletRequest request) |
protected Long id
protected Integer quantityOnHand
protected Integer quantityAvailable
protected com.broadleafcommerce.rest.api.wrapper.SkuWrapper sku
protected FulfillmentLocationWrapper location
public void wrapDetails(Inventory model, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<Inventory>public void wrapSummary(Inventory model, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<Inventory>public boolean getQuantityOnHandEnabled()
Copyright © 2020. All rights reserved.