Class AbstractInventoryAdjustmentListener.OrderFulfillmentItem
java.lang.Object
com.broadleafcommerce.inventory.service.messaging.AbstractInventoryAdjustmentListener.OrderFulfillmentItem
- Enclosing class:
- AbstractInventoryAdjustmentListener
Order fulfillment item fields relevant for adjusting inventory.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getId()
The context ID of this fulfillment item.The reservation strategy of the item.The id of theAbstractInventoryAdjustmentListener.OrderItem
to be represented by this fulfillment item.int
The quantity of the item to be fulfilled by this fulfillment.The reference number for this fulfillment item.int
hashCode()
void
The context ID of this fulfillment item.void
setInventoryReservationStrategy
(String inventoryReservationStrategy) The reservation strategy of the item.void
setOrderItemId
(String orderItemId) The id of theAbstractInventoryAdjustmentListener.OrderItem
to be represented by this fulfillment item.void
setQuantity
(int quantity) The quantity of the item to be fulfilled by this fulfillment.void
setReferenceNumber
(String referenceNumber) The reference number for this fulfillment item.toString()
-
Constructor Details
-
OrderFulfillmentItem
public OrderFulfillmentItem()
-
-
Method Details
-
getId
The context ID of this fulfillment item. -
getQuantity
public int getQuantity()The quantity of the item to be fulfilled by this fulfillment. -
getReferenceNumber
The reference number for this fulfillment item. This reference number should stay the same even if this item is split, so it could be shared between multiple items. -
getOrderItemId
The id of theAbstractInventoryAdjustmentListener.OrderItem
to be represented by this fulfillment item. -
getInventoryReservationStrategy
The reservation strategy of the item. This value helps to determine when an inventory reservation is required. -
setId
The context ID of this fulfillment item. -
setQuantity
public void setQuantity(int quantity) The quantity of the item to be fulfilled by this fulfillment. -
setReferenceNumber
The reference number for this fulfillment item. This reference number should stay the same even if this item is split, so it could be shared between multiple items. -
setOrderItemId
The id of theAbstractInventoryAdjustmentListener.OrderItem
to be represented by this fulfillment item. -
setInventoryReservationStrategy
The reservation strategy of the item. This value helps to determine when an inventory reservation is required. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-