Class FulfillmentOrigin

java.lang.Object
com.broadleafcommerce.fulfillment.domain.FulfillmentOrigin
All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ContextStateAware

public class FulfillmentOrigin extends Object implements com.broadleafcommerce.data.tracking.core.ContextStateAware
Inventory locations used during fulfillment pricing calculations.
  • Constructor Details

    • FulfillmentOrigin

      public FulfillmentOrigin()
  • Method Details

    • getId

      public String getId()
      The id of this FulfillmentOrigin instance.
    • getName

      public String getName()
      A name for this instance.
    • getInventoryLocations

      public List<String> getInventoryLocations()
      A list of inventory locations. This is intended to refer to com.broadleafcommerce.cartoperation.domain.InventoryLocation#locationNumber, but could be used for any arbitrary inventory origination codes.
    • getContextState

      public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()
      A subset of Tracking information to expose the context state for this object.
      Specified by:
      getContextState in interface com.broadleafcommerce.data.tracking.core.ContextStateAware
      Returns:
      a subset of Tracking information to expose the context state for this object
    • setId

      public void setId(String id)
      The id of this FulfillmentOrigin instance.
    • setName

      public void setName(String name)
      A name for this instance.
    • setInventoryLocations

      public void setInventoryLocations(List<String> inventoryLocations)
      A list of inventory locations. This is intended to refer to com.broadleafcommerce.cartoperation.domain.InventoryLocation#locationNumber, but could be used for any arbitrary inventory origination codes.
    • setContextState

      public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState)
      A subset of Tracking information to expose the context state for this object.
      Specified by:
      setContextState in interface com.broadleafcommerce.data.tracking.core.ContextStateAware
      Parameters:
      contextState - a subset of Tracking information to expose the context state for this object
    • 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