Class SkuInventoryAvailabilitySummary
java.lang.Object
com.broadleafcommerce.catalogbrowse.domain.inventory.SkuInventoryAvailabilitySummary
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanSummary of future stock information for this sku, if applicable.The inventory location where inventory is available.A soft reference to the SKU for which this inventory is managed.Soft reference to the vendor associated with this sku inventory.inthashCode()booleanWhether or not this SKU has inventory available.voidsetAvailable(boolean available) Whether or not this SKU has inventory available.voidsetFutureStockSummary(FutureStockSummary futureStockSummary) Summary of future stock information for this sku, if applicable.voidsetInventoryLocationId(String inventoryLocationId) The inventory location where inventory is available.voidA soft reference to the SKU for which this inventory is managed.voidsetVendorRef(String vendorRef) Soft reference to the vendor associated with this sku inventory.toString()
-
Constructor Details
-
SkuInventoryAvailabilitySummary
public SkuInventoryAvailabilitySummary()
-
-
Method Details
-
isAvailable
public boolean isAvailable()Whether or not this SKU has inventory available. -
getInventoryLocationId
The inventory location where inventory is available. -
getSkuRef
A soft reference to the SKU for which this inventory is managed. -
getVendorRef
Soft reference to the vendor associated with this sku inventory. This value can be null, in which case, no vendor is associated.- Returns:
- Soft reference to the vendor associated with this sku inventory.
-
getFutureStockSummary
Summary of future stock information for this sku, if applicable. -
setAvailable
public void setAvailable(boolean available) Whether or not this SKU has inventory available. -
setInventoryLocationId
The inventory location where inventory is available. -
setSkuRef
A soft reference to the SKU for which this inventory is managed. -
setVendorRef
Soft reference to the vendor associated with this sku inventory. This value can be null, in which case, no vendor is associated.- Parameters:
vendorRef- Soft reference to the vendor associated with this sku inventory.
-
setFutureStockSummary
Summary of future stock information for this sku, if applicable. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-