Class AbstractInventoryAdjustmentListener.OrderFulfillmentItem

java.lang.Object
com.broadleafcommerce.inventory.service.messaging.AbstractInventoryAdjustmentListener.OrderFulfillmentItem
Enclosing class:
AbstractInventoryAdjustmentListener

public static class AbstractInventoryAdjustmentListener.OrderFulfillmentItem extends Object
Order fulfillment item fields relevant for adjusting inventory.
  • Constructor Details

    • OrderFulfillmentItem

      public OrderFulfillmentItem()
  • Method Details

    • getId

      public String getId()
      The context ID of this fulfillment item.
    • getQuantity

      public int getQuantity()
      The quantity of the item to be fulfilled by this fulfillment.
    • getReferenceNumber

      public String 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

      public String getOrderItemId()
      The id of the AbstractInventoryAdjustmentListener.OrderItem to be represented by this fulfillment item.
    • getInventoryReservationStrategy

      public String getInventoryReservationStrategy()
      The reservation strategy of the item. This value helps to determine when an inventory reservation is required.
    • setId

      public void setId(String id)
      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

      public void setReferenceNumber(String referenceNumber)
      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

      public void setOrderItemId(String orderItemId)
      The id of the AbstractInventoryAdjustmentListener.OrderItem to be represented by this fulfillment item.
    • setInventoryReservationStrategy

      public void setInventoryReservationStrategy(String inventoryReservationStrategy)
      The reservation strategy of the item. This value helps to determine when an inventory reservation is required.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object