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 Details

    • FulfillmentDestination

      public FulfillmentDestination()
  • Method Details

    • getId

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

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

      public List<FulfillmentDestinationDetail> getIncludedDestinations()
      Specific geographic locations that are valid for calculators using this FulfillmentDestination
    • getExcludedDestinations

      public List<FulfillmentDestinationDetail> 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 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 FulfillmentDestination instance.
    • setName

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

      public void setIncludedDestinations(List<FulfillmentDestinationDetail> includedDestinations)
      Specific geographic locations that are valid for calculators using this FulfillmentDestination
    • setExcludedDestinations

      public void setExcludedDestinations(List<FulfillmentDestinationDetail> excludedDestinations)
      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 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