Class SkuInventoryAvailabilityRequest
java.lang.Object
com.broadleafcommerce.cartoperation.domain.SkuInventoryAvailabilityRequest
- All Implemented Interfaces:
Serializable
Request to check availability for a SKU with a specified minimum quantity.
- Author:
- Marie Standeven
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Quantity delta that is being requested (i.e.The value of the SKU reference.int
hashCode()
void
setQuantityRequested
(Integer quantityRequested) Quantity delta that is being requested (i.e.void
setSkuCode
(String skuCode) The value of the SKU reference.toString()
-
Constructor Details
-
SkuInventoryAvailabilityRequest
public SkuInventoryAvailabilityRequest()
-
-
Method Details
-
getSkuCode
The value of the SKU reference. This will be one of SKU contextId, SKU external ID, arbitrary SKU code, UPC, EAN, or GTIN. -
getQuantityRequested
Quantity delta that is being requested (i.e. the number to check). These must always be positive numbers. -
setSkuCode
The value of the SKU reference. This will be one of SKU contextId, SKU external ID, arbitrary SKU code, UPC, EAN, or GTIN. -
setQuantityRequested
Quantity delta that is being requested (i.e. the number to check). These must always be positive numbers. -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-