Class IsoCountryModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.IsoCountryModel
-
public class IsoCountryModel extends java.lang.ObjectRepresents an ISO 3166 recognized country
-
-
Constructor Summary
Constructors Constructor Description IsoCountryModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleangetAddressesRequireRegion()Getter for addressesRequireRegion Whether or not this country requires a region in postal addresses.java.lang.StringgetAlpha3Code()Getter for alpha3Code The three character ISO 3166 country codejava.lang.StringgetCode()Getter for code The two character ISO 3166 country codejava.lang.BooleangetIsEuropeanUnion()Getter for isEuropeanUnion True if this country is a member of the European Unionjava.util.ArrayList<IsoLocalizedName>getLocalizedNames()Getter for localizedNames A list of localized names in a variety of languages.java.lang.StringgetName()Getter for name The full name of this country in uppercase.voidsetAddressesRequireRegion(java.lang.Boolean value)Setter for addressesRequireRegion Whether or not this country requires a region in postal addresses.voidsetAlpha3Code(java.lang.String value)Setter for alpha3Code The three character ISO 3166 country codevoidsetCode(java.lang.String value)Setter for code The two character ISO 3166 country codevoidsetIsEuropeanUnion(java.lang.Boolean value)Setter for isEuropeanUnion True if this country is a member of the European UnionvoidsetLocalizedNames(java.util.ArrayList<IsoLocalizedName> value)Setter for localizedNames A list of localized names in a variety of languages.voidsetName(java.lang.String value)Setter for name The full name of this country in uppercase.java.lang.StringtoString()Returns a JSON string representation of IsoCountryModel
-
-
-
Method Detail
-
getCode
public java.lang.String getCode()
Getter for code The two character ISO 3166 country code
-
setCode
public void setCode(java.lang.String value)
Setter for code The two character ISO 3166 country code
-
getAlpha3Code
public java.lang.String getAlpha3Code()
Getter for alpha3Code The three character ISO 3166 country code
-
setAlpha3Code
public void setAlpha3Code(java.lang.String value)
Setter for alpha3Code The three character ISO 3166 country code
-
getName
public java.lang.String getName()
Getter for name The full name of this country in uppercase. For names in proper or formal case, or for names in other languages, please examine the `localizedNames` element for an appropriate name.
-
setName
public void setName(java.lang.String value)
Setter for name The full name of this country in uppercase. For names in proper or formal case, or for names in other languages, please examine the `localizedNames` element for an appropriate name.
-
getIsEuropeanUnion
public java.lang.Boolean getIsEuropeanUnion()
Getter for isEuropeanUnion True if this country is a member of the European Union
-
setIsEuropeanUnion
public void setIsEuropeanUnion(java.lang.Boolean value)
Setter for isEuropeanUnion True if this country is a member of the European Union
-
getLocalizedNames
public java.util.ArrayList<IsoLocalizedName> getLocalizedNames()
Getter for localizedNames A list of localized names in a variety of languages. This list is maintained by the International Standards Organization.
-
setLocalizedNames
public void setLocalizedNames(java.util.ArrayList<IsoLocalizedName> value)
Setter for localizedNames A list of localized names in a variety of languages. This list is maintained by the International Standards Organization.
-
getAddressesRequireRegion
public java.lang.Boolean getAddressesRequireRegion()
Getter for addressesRequireRegion Whether or not this country requires a region in postal addresses.
-
setAddressesRequireRegion
public void setAddressesRequireRegion(java.lang.Boolean value)
Setter for addressesRequireRegion Whether or not this country requires a region in postal addresses.
-
toString
public java.lang.String toString()
Returns a JSON string representation of IsoCountryModel- Overrides:
toStringin classjava.lang.Object
-
-