Class FulfillmentDestinationDetail
java.lang.Object
com.broadleafcommerce.fulfillment.domain.FulfillmentDestinationDetail
Geographic data for a fulfillment destination.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected booleancheckValue(String destDetailValue, String addressValue) Returns true if the dest detail value is not set.booleangetCity()CityCountry codegetId()The id of this instance.getName()A name for this instance.Postal CodeRegion, state, or provinceinthashCode()booleanmatches(com.broadleafcommerce.fulfillment.common.domain.Address address) Return true if this detail matches the passed in AddressvoidCityvoidsetCountryCode(String countryCode) Country codevoidThe id of this instance.voidA name for this instance.voidsetPostalCode(String postalCode) Postal CodevoidsetRegionCode(String regionCode) Region, state, or provincetoString()
-
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
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
The id of this instance. -
getName
A name for this instance. -
getCountryCode
Country code -
getRegionCode
Region, state, or province -
getCity
City -
getPostalCode
Postal Code -
setId
The id of this instance. -
setName
A name for this instance. -
setCountryCode
Country code -
setRegionCode
Region, state, or province -
setCity
City -
setPostalCode
Postal Code -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-