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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetId()The context ID of this fulfillment item.The reservation strategy of the item.The id of theAbstractInventoryAdjustmentListener.OrderItemto be represented by this fulfillment item.intThe quantity of the item to be fulfilled by this fulfillment.The reference number for this fulfillment item.inthashCode()voidThe context ID of this fulfillment item.voidsetInventoryReservationStrategy(String inventoryReservationStrategy) The reservation strategy of the item.voidsetOrderItemId(String orderItemId) The id of theAbstractInventoryAdjustmentListener.OrderItemto be represented by this fulfillment item.voidsetQuantity(int quantity) The quantity of the item to be fulfilled by this fulfillment.voidsetReferenceNumber(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.OrderItemto 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.OrderItemto 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
-