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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState
A subset ofTracking
information to expose the context state for this object.getId()
The id of this FulfillmentOrigin instance.A list of inventory locations.getName()
A name for this instance.int
hashCode()
void
setContextState
(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTracking
information to expose the context state for this object.void
The id of this FulfillmentOrigin instance.void
setInventoryLocations
(List<String> inventoryLocations) A list of inventory locations.void
A name for this instance.toString()
-
Constructor Details
-
FulfillmentOrigin
public FulfillmentOrigin()
-
-
Method Details
-
getId
The id of this FulfillmentOrigin instance. -
getName
A name for this instance. -
getInventoryLocations
A list of inventory locations. This is intended to refer tocom.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 ofTracking
information to expose the context state for this object.- Specified by:
getContextState
in interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
- Returns:
- a subset of
Tracking
information to expose the context state for this object
-
setId
The id of this FulfillmentOrigin instance. -
setName
A name for this instance. -
setInventoryLocations
A list of inventory locations. This is intended to refer tocom.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 ofTracking
information to expose the context state for this object.- Specified by:
setContextState
in interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
- Parameters:
contextState
- a subset ofTracking
information to expose the context state for this object
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-