Package com.broadleafcommerce.tax.domain
Class TaxAddress
- java.lang.Object
-
- com.broadleafcommerce.tax.domain.TaxAddress
-
- All Implemented Interfaces:
Serializable
public class TaxAddress extends Object implements Serializable
An address used to determine taxes for aTaxRequest
.- Author:
- Chad Harchar (charchar)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaxAddress()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getAddressLine1()
Primary address information, typically street name and building number.String
getAddressLine2()
Secondary address information, like apartment, suite, or unit number.String
getAddressLine3()
Tertiary address information, typically for international addresses.String
getCity()
The city, town or village of this address.String
getCountry()
The country for this address.String
getCounty()
The county of this address.String
getPostalCode()
Postal code or ZIP code for this address.String
getStateProvinceRegion()
The state, province or region of this address.int
hashCode()
void
setAddressLine1(String addressLine1)
Primary address information, typically street name and building number.void
setAddressLine2(String addressLine2)
Secondary address information, like apartment, suite, or unit number.void
setAddressLine3(String addressLine3)
Tertiary address information, typically for international addresses.void
setCity(String city)
The city, town or village of this address.void
setCountry(String country)
The country for this address.void
setCounty(String county)
The county of this address.void
setPostalCode(String postalCode)
Postal code or ZIP code for this address.void
setStateProvinceRegion(String stateProvinceRegion)
The state, province or region of this address.String
toString()
-
-
-
Method Detail
-
getAddressLine1
public String getAddressLine1()
Primary address information, typically street name and building number.- Returns:
- Primary address information, typically street name and building number.
-
getAddressLine2
public String getAddressLine2()
Secondary address information, like apartment, suite, or unit number.- Returns:
- Secondary address information, like apartment number or suite number.
-
getAddressLine3
public String getAddressLine3()
Tertiary address information, typically for international addresses.- Returns:
- Tertiary address information, typically for international addresses.
-
getCity
public String getCity()
The city, town or village of this address.- Returns:
- The city, town or village of this address.
-
getCounty
public String getCounty()
The county of this address.- Returns:
- The county of this address.
-
getStateProvinceRegion
public String getStateProvinceRegion()
The state, province or region of this address.- Returns:
- The state, province or region of this address.
-
getCountry
public String getCountry()
The country for this address.- Returns:
- The country for this address.
-
getPostalCode
public String getPostalCode()
Postal code or ZIP code for this address.- Returns:
- Postal code or ZIP code for this address.
-
setAddressLine1
public void setAddressLine1(String addressLine1)
Primary address information, typically street name and building number.- Parameters:
addressLine1
- Primary address information, typically street name and building number.
-
setAddressLine2
public void setAddressLine2(String addressLine2)
Secondary address information, like apartment, suite, or unit number.- Parameters:
addressLine2
- Secondary address information, like apartment number or suite number.
-
setAddressLine3
public void setAddressLine3(String addressLine3)
Tertiary address information, typically for international addresses.- Parameters:
addressLine3
- Tertiary address information, typically for international addresses.
-
setCity
public void setCity(String city)
The city, town or village of this address.- Parameters:
city
- The city, town or village of this address.
-
setCounty
public void setCounty(String county)
The county of this address.- Parameters:
county
- The county of this address.
-
setStateProvinceRegion
public void setStateProvinceRegion(String stateProvinceRegion)
The state, province or region of this address.- Parameters:
stateProvinceRegion
- The state, province or region of this address.
-
setCountry
public void setCountry(String country)
The country for this address.- Parameters:
country
- The country for this address.
-
setPostalCode
public void setPostalCode(String postalCode)
Postal code or ZIP code for this address.- Parameters:
postalCode
- Postal code or ZIP code for this address.
-
canEqual
protected boolean canEqual(Object other)
-
-