public interface Inventory extends Serializable
Location.| Modifier and Type | Method and Description |
|---|---|
FulfillmentLocation |
getFulfillmentLocation()
Retrieves the fulfillment location information related to this inventory
|
Long |
getId()
Retrieves the unique identifier of the Inventory
|
Integer |
getQuantityAvailable()
Retrieves the inventory available for sale.
|
Integer |
getQuantityOnHand()
Retrieves the actual inventory in possession of the business
|
org.broadleafcommerce.core.catalog.domain.Sku |
getSku()
Retrieves the sku for this Inventory
|
Long |
getVersion()
Retrieves the version set by Hibernate.
|
void |
setFulfillmentLocation(FulfillmentLocation fulfillmentLocation)
Sets the fulfillment location information related to this inventory
|
void |
setId(Long id)
Sets the unique identifier of the Inventory
|
void |
setQuantityAvailable(Integer quantity)
Sets the inventory available for sale.
|
void |
setQuantityOnHand(Integer quantity)
Sets the actual inventory in possession of the business
|
void |
setSku(org.broadleafcommerce.core.catalog.domain.Sku sku)
Sets the sku for this Inventory
|
Long getId()
void setId(Long id)
id - FulfillmentLocation getFulfillmentLocation()
void setFulfillmentLocation(FulfillmentLocation fulfillmentLocation)
fulfillmentLocation - org.broadleafcommerce.core.catalog.domain.Sku getSku()
void setSku(org.broadleafcommerce.core.catalog.domain.Sku sku)
sku - Integer getQuantityOnHand()
void setQuantityOnHand(Integer quantity)
quantity - Integer getQuantityAvailable()
void setQuantityAvailable(Integer quantity)
quantity - Long getVersion()
Copyright © 2020. All rights reserved.