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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Soft reference to the vendor associated with this sku inventory.int
hashCode()
boolean
void
setAvailable
(boolean available) void
setInventoryLocationId
(String inventoryLocationId) void
void
setVendorRef
(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()
-