Class SkuInventoryReservationRequestItem
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.domain.SkuInventoryReservationRequestItem
-
public class SkuInventoryReservationRequestItem extends Object
- Author:
- Kelly Tisdell (ktisdell)
-
-
Constructor Summary
Constructors Constructor Description SkuInventoryReservationRequestItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
int
getQuantity()
Quantity delta that is being requested (i.e.String
getReferenceNumber()
This can be any number, but is typically the Order Item ID or Fulfillment Item ID.String
getSkuReferenceValue()
The value of the SKU reference.int
hashCode()
void
setQuantity(int quantity)
Quantity delta that is being requested (i.e.void
setReferenceNumber(String referenceNumber)
This can be any number, but is typically the Order Item ID or Fulfillment Item ID.void
setSkuReferenceValue(String skuReferenceValue)
The value of the SKU reference.String
toString()
-
-
-
Method Detail
-
getSkuReferenceValue
public String getSkuReferenceValue()
The value of the SKU reference. This will be one of SKU contextId, SKU external ID, arbitrary SKU code, UPC, EAN, or GTIN.- Returns:
- See Also:
SkuInventoryReservationRequest
-
getQuantity
public int getQuantity()
Quantity delta that is being requested (i.e. the number to reserve). These must always be positive numbers, even when decrementing inventory.- Returns:
-
getReferenceNumber
public String getReferenceNumber()
This can be any number, but is typically the Order Item ID or Fulfillment Item ID. It must be unique within a tenant (e.g. a UUID, ULID, or any identifier that is unique across Fulfillment Items with which this reservation is associated.- Returns:
-
setSkuReferenceValue
public void setSkuReferenceValue(String skuReferenceValue)
The value of the SKU reference. This will be one of SKU contextId, SKU external ID, arbitrary SKU code, UPC, EAN, or GTIN.- Parameters:
skuReferenceValue
-- See Also:
SkuInventoryReservationRequest
-
setQuantity
public void setQuantity(int quantity)
Quantity delta that is being requested (i.e. the number to reserve). These must always be positive numbers, even when decrementing inventory.- Parameters:
quantity
-
-
setReferenceNumber
public void setReferenceNumber(String referenceNumber)
This can be any number, but is typically the Order Item ID or Fulfillment Item ID. It must be unique within a tenant (e.g. a UUID, ULID, or any identifier that is unique across Fulfillment Items with which this reservation is associated.- Parameters:
referenceNumber
-
-
canEqual
protected boolean canEqual(Object other)
-
-