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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleancom.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextStateA subset ofTrackinginformation 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.inthashCode()voidsetContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.voidsetExcludedDestinations(List<FulfillmentDestinationDetail> excludedDestinations) Specific geographic locations that are excluded and not supported by calculators using this FulfillmentDestination.voidThe id of this FulfillmentDestination instance.voidsetIncludedDestinations(List<FulfillmentDestinationDetail> includedDestinations) Specific geographic locations that are valid for calculators using this FulfillmentDestinationvoidA 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 ofTrackinginformation to expose the context state for this object.- Specified by:
getContextStatein interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware- Returns:
- a subset of
Trackinginformation 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 ofTrackinginformation to expose the context state for this object.- Specified by:
setContextStatein interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware- Parameters:
contextState- a subset ofTrackinginformation to expose the context state for this object
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-