Class SkuInventoryAvailabilitySummary
java.lang.Object
com.broadleafcommerce.inventory.domain.SkuInventoryAvailabilitySummary
- All Implemented Interfaces:
Serializable
Provides a data structure to simply indicate if the SKU is available without disclosing the
quantity available. Summary availability.
- Author:
- Kelly Tisdell (ktisdell)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanSoft reference to the vendor associated with this sku inventory.inthashCode()booleanvoidsetAvailable(boolean available) voidsetInventoryLocationId(String inventoryLocationId) voidvoidsetVendorRef(String vendorRef) Soft reference to the vendor associated with this sku inventory.toString()
-
Constructor Details
-
SkuInventoryAvailabilitySummary
public SkuInventoryAvailabilitySummary()
-
-
Method Details
-
isAvailable
public boolean isAvailable() -
getInventoryLocationId
-
getSkuRef
-
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.
-
setAvailable
public void setAvailable(boolean available) -
setInventoryLocationId
-
setSkuRef
-
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.
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-