Class AbstractInventoryAdjustmentListener.OrderFulfillment

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

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

    • OrderFulfillment

      public OrderFulfillment()
  • Method Details

    • getId

      public String getId()
    • getInventoryLocationReference

      public String getInventoryLocationReference()
      This is an optional field where the ID or reference number of the expected InventoryLocation is stored. Specifically, this is required in situations where a customer will pick up this FulfillmentGroup (i.e. type == PICKUP). This could also be provided as a hint in the case that this is a SHIP location and the application knows from where this FulfillmentGroup should be fulfilled.
    • getFulfillmentItems

      Items within this fulfillment, each of which should relate back to a AbstractInventoryAdjustmentListener.OrderItem.
    • setId

      public void setId(String id)
    • setInventoryLocationReference

      public void setInventoryLocationReference(String inventoryLocationReference)
      This is an optional field where the ID or reference number of the expected InventoryLocation is stored. Specifically, this is required in situations where a customer will pick up this FulfillmentGroup (i.e. type == PICKUP). This could also be provided as a hint in the case that this is a SHIP location and the application knows from where this FulfillmentGroup should be fulfilled.
    • setFulfillmentItems

      public void setFulfillmentItems(List<AbstractInventoryAdjustmentListener.OrderFulfillmentItem> fulfillmentItems)
      Items within this fulfillment, each of which should relate back to a AbstractInventoryAdjustmentListener.OrderItem.
    • 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