Class FulfillmentDestination
java.lang.Object
com.broadleafcommerce.fulfillment.domain.FulfillmentDestination
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ContextStateAware
public class FulfillmentDestination
extends Object
implements com.broadleafcommerce.data.tracking.core.ContextStateAware
Geographic data for fulfillment destination, for use with fulfillment pricing.
-
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.Specific geographic locations that are excluded and not supported by calculators using this FulfillmentDestination.getId()
The id of this FulfillmentDestination instance.Specific geographic locations that are valid for calculators using this FulfillmentDestinationgetName()
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
setExcludedDestinations
(List<FulfillmentDestinationDetail> excludedDestinations) Specific geographic locations that are excluded and not supported by calculators using this FulfillmentDestination.void
The id of this FulfillmentDestination instance.void
setIncludedDestinations
(List<FulfillmentDestinationDetail> includedDestinations) Specific geographic locations that are valid for calculators using this FulfillmentDestinationvoid
A name for this instance.toString()
-
Constructor Details
-
FulfillmentDestination
public FulfillmentDestination()
-
-
Method Details
-
getId
The id of this FulfillmentDestination instance. -
getName
A name for this instance. -
getIncludedDestinations
Specific geographic locations that are valid for calculators using this FulfillmentDestination -
getExcludedDestinations
Specific geographic locations that are excluded and not supported by calculators using this FulfillmentDestination. -
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 FulfillmentDestination instance. -
setName
A name for this instance. -
setIncludedDestinations
Specific geographic locations that are valid for calculators using this FulfillmentDestination -
setExcludedDestinations
Specific geographic locations that are excluded and not supported by calculators using this FulfillmentDestination. -
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
-