Class InventoryAvailabilityRequest
java.lang.Object
com.broadleafcommerce.cartoperation.service.provider.external.domain.inventory.InventoryAvailabilityRequest
- All Implemented Interfaces:
Serializable
A request DTO to fetch the inventory availability status of a catalog item.
- Author:
- Marie Standeven (mariestandeven)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanMap holding any additional attributes passed in the request not matching any defined properties.intThe quantity being requested for this item.getSku()This Stock Keeping Unit that uniquely identifies this item.inthashCode()voidsetAdditionalAttributes(Map<String, Object> additionalAttributes) Map holding any additional attributes passed in the request not matching any defined properties.voidsetQuantity(int quantity) The quantity being requested for this item.voidThis Stock Keeping Unit that uniquely identifies this item.toString()
-
Constructor Details
-
InventoryAvailabilityRequest
public InventoryAvailabilityRequest()
-
-
Method Details
-
getSku
This Stock Keeping Unit that uniquely identifies this item. -
getQuantity
public int getQuantity()The quantity being requested for this item. -
getAdditionalAttributes
Map holding any additional attributes passed in the request not matching any defined properties. -
setSku
This Stock Keeping Unit that uniquely identifies this item. -
setQuantity
public void setQuantity(int quantity) The quantity being requested for this item. -
setAdditionalAttributes
Map holding any additional attributes passed in the request not matching any defined properties. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-