Class SkuInventoryAvailabilitySummary
- java.lang.Object
-
- com.broadleafcommerce.inventory.domain.SkuInventoryAvailabilitySummary
-
- All Implemented Interfaces:
Serializable
public class SkuInventoryAvailabilitySummary extends Object implements 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SkuInventoryAvailabilitySummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetInventoryLocationId()SkuRefgetSkuRef()StringgetVendorRef()Soft reference to the vendor associated with this sku inventory.inthashCode()booleanisAvailable()voidsetAvailable(boolean available)voidsetInventoryLocationId(String inventoryLocationId)voidsetSkuRef(SkuRef skuRef)voidsetVendorRef(String vendorRef)Soft reference to the vendor associated with this sku inventory.StringtoString()
-
-
-
Method Detail
-
isAvailable
public boolean isAvailable()
-
getInventoryLocationId
public String getInventoryLocationId()
-
getSkuRef
public SkuRef getSkuRef()
-
getVendorRef
@Nullable public String 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
public void setInventoryLocationId(String inventoryLocationId)
-
setSkuRef
public void setSkuRef(SkuRef skuRef)
-
setVendorRef
public void setVendorRef(@Nullable String vendorRef)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.
-
canEqual
protected boolean canEqual(Object other)
-
-