Class SkuInventoryAvailabilitySummary
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.domain.SkuInventoryAvailabilitySummary
-
- All Implemented Interfaces:
Serializable
public class SkuInventoryAvailabilitySummary extends Object implements Serializable
- 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()
The Inventory Location for which this availability is indicated.InventorySkuRef
getSkuRef()
Holder of pointer(s) that reference the SKU.String
getVendorRef()
Soft reference to the vendor associated with this sku inventory summary.int
hashCode()
boolean
isAvailable()
Indicates if the requested quantity is available.void
setAvailable(boolean available)
Indicates if the requested quantity is available.void
setInventoryLocationId(String inventoryLocationId)
The Inventory Location for which this availability is indicated.void
setSkuRef(InventorySkuRef skuRef)
Holder of pointer(s) that reference the SKU.void
setVendorRef(String vendorRef)
Soft reference to the vendor associated with this sku inventory summary.String
toString()
-
-
-
Method Detail
-
isAvailable
public boolean isAvailable()
Indicates if the requested quantity is available.- Returns:
-
getInventoryLocationId
public String getInventoryLocationId()
The Inventory Location for which this availability is indicated.- Returns:
-
getSkuRef
public InventorySkuRef getSkuRef()
Holder of pointer(s) that reference the SKU. The default isskuCode
.- Returns:
-
getVendorRef
@Nullable public String getVendorRef()
Soft reference to the vendor associated with this sku inventory summary. This value can be null, in which case, no vendor is associated.- Returns:
- Soft reference to the vendor associated with this sku inventory summary.
-
setAvailable
public void setAvailable(boolean available)
Indicates if the requested quantity is available.- Parameters:
available
- - indicates if the quantity requested is available
-
setInventoryLocationId
public void setInventoryLocationId(String inventoryLocationId)
The Inventory Location for which this availability is indicated.- Parameters:
inventoryLocationId
- - Indicates the Inventory Location that contains the Inventory.
-
setSkuRef
public void setSkuRef(InventorySkuRef skuRef)
Holder of pointer(s) that reference the SKU. The default isskuCode
.- Parameters:
skuRef
- - A generic holder for pointers that reference the SKU
-
setVendorRef
public void setVendorRef(@Nullable String vendorRef)
Soft reference to the vendor associated with this sku inventory summary. This value can be null, in which case, no vendor is associated.- Parameters:
vendorRef
- Soft reference to the vendor associated with this sku inventory summary.
-
canEqual
protected boolean canEqual(Object other)
-
-