Class FulfillmentDestinationDetail
java.lang.Object
com.broadleafcommerce.fulfillment.domain.FulfillmentDestinationDetail
Geographic data for a fulfillment destination.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
protected boolean
checkValue
(String destDetailValue, String addressValue) Returns true if the dest detail value is not set.boolean
getCity()
CityCountry codegetId()
The id of this instance.getName()
A name for this instance.Postal CodeRegion, state, or provinceint
hashCode()
boolean
matches
(com.broadleafcommerce.fulfillment.common.domain.Address address) Return true if this detail matches the passed in Addressvoid
Cityvoid
setCountryCode
(String countryCode) Country codevoid
The id of this instance.void
A name for this instance.void
setPostalCode
(String postalCode) Postal Codevoid
setRegionCode
(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
-