Class SkuInventoryAdjustmentRequestItem
- java.lang.Object
-
- com.broadleafcommerce.inventory.domain.SkuInventoryAdjustmentRequestItem
-
public class SkuInventoryAdjustmentRequestItem extends Object
-
-
Constructor Summary
Constructors Constructor Description SkuInventoryAdjustmentRequestItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)intgetQuantity()Quantity delta that is being requested (i.e.StringgetReferenceNumber()This can be any number, but is typically the Order Item ID or Fulfillment Group Item ID.StringgetSkuReferenceValue()The value of the SKU reference.inthashCode()voidsetQuantity(int quantity)Quantity delta that is being requested (i.e.voidsetReferenceNumber(String referenceNumber)This can be any number, but is typically the Order Item ID or Fulfillment Group Item ID.voidsetSkuReferenceValue(String skuReferenceValue)The value of the SKU reference.StringtoString()
-
-
-
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:
SkuRef,SkuReferenceFieldType,DefaultSkuReferenceFieldType,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.
-
getReferenceNumber
public String getReferenceNumber()
This can be any number, but is typically the Order Item ID or Fulfillment Group Item ID. It must be unique within a tenant (e.g. a UUID, ULID, or any identifier that is unique to the Fulfillment Group Item with which this reservation is associated.
-
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:
SkuRef,SkuReferenceFieldType,DefaultSkuReferenceFieldType,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.
-
setReferenceNumber
public void setReferenceNumber(String referenceNumber)
This can be any number, but is typically the Order Item ID or Fulfillment Group Item ID. It must be unique within a tenant (e.g. a UUID, ULID, or any identifier that is unique to the Fulfillment Group Item with which this reservation is associated.
-
canEqual
protected boolean canEqual(Object other)
-
-