Class IsoCountryModel

java.lang.Object
net.avalara.avatax.rest.client.models.IsoCountryModel

public class IsoCountryModel
extends java.lang.Object
Represents an ISO 3166 recognized country
  • Constructor Summary

    Constructors 
    Constructor Description
    IsoCountryModel()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.Boolean getAddressesRequireRegion()
    Getter for addressesRequireRegion Whether or not this country requires a region in postal addresses.
    java.lang.String getAlpha3Code()
    Getter for alpha3Code The three character ISO 3166 country code
    java.lang.String getCode()
    Getter for code The two character ISO 3166 country code
    java.lang.Boolean getIsEuropeanUnion()
    Getter for isEuropeanUnion True if this country is a member of the European Union
    java.util.ArrayList<IsoLocalizedName> getLocalizedNames()
    Getter for localizedNames A list of localized names in a variety of languages.
    java.lang.String getName()
    Getter for name The full name of this country in uppercase.
    void setAddressesRequireRegion​(java.lang.Boolean value)
    Setter for addressesRequireRegion Whether or not this country requires a region in postal addresses.
    void setAlpha3Code​(java.lang.String value)
    Setter for alpha3Code The three character ISO 3166 country code
    void setCode​(java.lang.String value)
    Setter for code The two character ISO 3166 country code
    void setIsEuropeanUnion​(java.lang.Boolean value)
    Setter for isEuropeanUnion True if this country is a member of the European Union
    void setLocalizedNames​(java.util.ArrayList<IsoLocalizedName> value)
    Setter for localizedNames A list of localized names in a variety of languages.
    void setName​(java.lang.String value)
    Setter for name The full name of this country in uppercase.
    java.lang.String toString()
    Returns a JSON string representation of IsoCountryModel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • 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:
      toString in class java.lang.Object