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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanQuantity delta that is being requested (i.e.The value of the SKU reference.inthashCode()voidsetQuantityRequested(Integer quantityRequested) Quantity delta that is being requested (i.e.voidsetSkuCode(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()
-