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 boolean
canEqual(Object other)
boolean
equals(Object o)
String
getInventoryLocationId()
SkuRef
getSkuRef()
String
getVendorRef()
Soft reference to the vendor associated with this sku inventory.int
hashCode()
boolean
isAvailable()
void
setAvailable(boolean available)
void
setInventoryLocationId(String inventoryLocationId)
void
setSkuRef(SkuRef skuRef)
void
setVendorRef(String vendorRef)
Soft reference to the vendor associated with this sku inventory.String
toString()
-
-
-
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)
-
-