Class SkuInventoryAvailabilityRequest
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.domain.SkuInventoryAvailabilityRequest
-
- All Implemented Interfaces:
Serializable
public class SkuInventoryAvailabilityRequest extends Object implements Serializable
Request to check availability for a SKU with a specified minimum quantity.- Author:
- Marie Standeven
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SkuInventoryAvailabilityRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)IntegergetQuantityRequested()Quantity delta that is being requested (i.e.StringgetSkuCode()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.StringtoString()
-
-
-
Method Detail
-
getSkuCode
public String 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
public Integer getQuantityRequested()
Quantity delta that is being requested (i.e. the number to check). These must always be positive numbers.
-
setSkuCode
public void setSkuCode(String skuCode)
The value of the SKU reference. This will be one of SKU contextId, SKU external ID, arbitrary SKU code, UPC, EAN, or GTIN.
-
setQuantityRequested
public void setQuantityRequested(Integer quantityRequested)
Quantity delta that is being requested (i.e. the number to check). These must always be positive numbers.
-
canEqual
protected boolean canEqual(Object other)
-
-