Class FulfillmentDestinationDetail

java.lang.Object
com.broadleafcommerce.fulfillment.domain.FulfillmentDestinationDetail

public class FulfillmentDestinationDetail extends Object
Geographic data for a fulfillment destination.
  • Constructor Details

    • FulfillmentDestinationDetail

      public FulfillmentDestinationDetail()
  • Method Details

    • matches

      public boolean matches(com.broadleafcommerce.fulfillment.common.domain.Address address)
      Return true if this detail matches the passed in Address
      Parameters:
      address -
      Returns:
    • checkValue

      protected boolean checkValue(String destDetailValue, String addressValue)
      Returns true if the dest detail value is not set. Otherwise returns true if the two values are equal ignoring case.
      Parameters:
      destDetailValue -
      addressValue -
      Returns:
    • getId

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

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

      public String getCountryCode()
      Country code
    • getRegionCode

      public String getRegionCode()
      Region, state, or province
    • getCity

      public String getCity()
      City
    • getPostalCode

      public String getPostalCode()
      Postal Code
    • setId

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

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

      public void setCountryCode(String countryCode)
      Country code
    • setRegionCode

      public void setRegionCode(String regionCode)
      Region, state, or province
    • setCity

      public void setCity(String city)
      City
    • setPostalCode

      public void setPostalCode(String postalCode)
      Postal Code
    • 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