Class SkuInventoryAvailabilitySummary
java.lang.Object
com.broadleafcommerce.cartoperation.domain.SkuInventoryAvailabilitySummary
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Map holding any additional attributes passed in the request not matching any defined properties.The Inventory Location for which this availability is indicated.Holder of pointer(s) that reference the SKU.Soft reference to the vendor associated with this sku inventory summary.int
hashCode()
boolean
Indicates if the requested quantity is available.void
setAdditionalAttributes
(Map<String, Object> additionalAttributes) Map holding any additional attributes passed in the request not matching any defined properties.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.toString()
-
Constructor Details
-
SkuInventoryAvailabilitySummary
public SkuInventoryAvailabilitySummary()
-
-
Method Details
-
isAvailable
public boolean isAvailable()Indicates if the requested quantity is available.- Returns:
-
getInventoryLocationId
The Inventory Location for which this availability is indicated.- Returns:
-
getSkuRef
Holder of pointer(s) that reference the SKU. The default isskuCode
.- Returns:
-
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.
-
getAdditionalAttributes
Map holding any additional attributes passed in the request not matching any defined properties. -
setAvailable
public void setAvailable(boolean available) Indicates if the requested quantity is available.- Parameters:
available
- - indicates if the quantity requested is available
-
setInventoryLocationId
The Inventory Location for which this availability is indicated.- Parameters:
inventoryLocationId
- - Indicates the Inventory Location that contains the Inventory.
-
setSkuRef
Holder of pointer(s) that reference the SKU. The default isskuCode
.- Parameters:
skuRef
- - A generic holder for pointers that reference the SKU
-
setVendorRef
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.
-
setAdditionalAttributes
Map holding any additional attributes passed in the request not matching any defined properties. -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-