Class AddressLocationInfo

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

public class AddressLocationInfo
extends java.lang.Object
Represents an address to resolve.
  • Constructor Summary

    Constructors 
    Constructor Description
    AddressLocationInfo()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getCity()
    Getter for city City component of the address
    java.lang.String getCountry()
    Getter for country Name or ISO 3166 code identifying the country.
    java.math.BigDecimal getLatitude()
    Getter for latitude Geospatial latitude measurement, in Decimal Degrees floating point format.
    java.lang.String getLine1()
    Getter for line1 First line of the street address
    java.lang.String getLine2()
    Getter for line2 Second line of the street address
    java.lang.String getLine3()
    Getter for line3 Third line of the street address
    java.lang.String getLocationCode()
    Getter for locationCode If you wish to use the address of an existing location for this company, specify the address here.
    java.math.BigDecimal getLongitude()
    Getter for longitude Geospatial longitude measurement, in Decimal Degrees floating point format.
    java.lang.String getPostalCode()
    Getter for postalCode Postal Code / Zip Code component of the address.
    java.lang.String getRegion()
    Getter for region Name or ISO 3166 code identifying the region within the country.
    void setCity​(java.lang.String value)
    Setter for city City component of the address
    void setCountry​(java.lang.String value)
    Setter for country Name or ISO 3166 code identifying the country.
    void setLatitude​(java.math.BigDecimal value)
    Setter for latitude Geospatial latitude measurement, in Decimal Degrees floating point format.
    void setLine1​(java.lang.String value)
    Setter for line1 First line of the street address
    void setLine2​(java.lang.String value)
    Setter for line2 Second line of the street address
    void setLine3​(java.lang.String value)
    Setter for line3 Third line of the street address
    void setLocationCode​(java.lang.String value)
    Setter for locationCode If you wish to use the address of an existing location for this company, specify the address here.
    void setLongitude​(java.math.BigDecimal value)
    Setter for longitude Geospatial longitude measurement, in Decimal Degrees floating point format.
    void setPostalCode​(java.lang.String value)
    Setter for postalCode Postal Code / Zip Code component of the address.
    void setRegion​(java.lang.String value)
    Setter for region Name or ISO 3166 code identifying the region within the country.
    java.lang.String toString()
    Returns a JSON string representation of AddressLocationInfo

    Methods inherited from class java.lang.Object

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

  • Method Details

    • getLocationCode

      public java.lang.String getLocationCode()
      Getter for locationCode If you wish to use the address of an existing location for this company, specify the address here. Otherwise, leave this value empty. The `locationCode` field on this object allows you to quickly use the address of an existing `locationModel` object instead of having to retype the address completely. This field does not affect the behavior of transactions that must be filed on location-based tax returns. To specify how a transaction will be reported on location-based tax returns, please see the `reportingLocationCode` field on the [CreateTransactionModel](https://developer.avalara.com/api-reference/avatax/rest/v2/models/CreateTransactionModel/) element.
    • setLocationCode

      public void setLocationCode​(java.lang.String value)
      Setter for locationCode If you wish to use the address of an existing location for this company, specify the address here. Otherwise, leave this value empty. The `locationCode` field on this object allows you to quickly use the address of an existing `locationModel` object instead of having to retype the address completely. This field does not affect the behavior of transactions that must be filed on location-based tax returns. To specify how a transaction will be reported on location-based tax returns, please see the `reportingLocationCode` field on the [CreateTransactionModel](https://developer.avalara.com/api-reference/avatax/rest/v2/models/CreateTransactionModel/) element.
    • getLine1

      public java.lang.String getLine1()
      Getter for line1 First line of the street address
    • setLine1

      public void setLine1​(java.lang.String value)
      Setter for line1 First line of the street address
    • getLine2

      public java.lang.String getLine2()
      Getter for line2 Second line of the street address
    • setLine2

      public void setLine2​(java.lang.String value)
      Setter for line2 Second line of the street address
    • getLine3

      public java.lang.String getLine3()
      Getter for line3 Third line of the street address
    • setLine3

      public void setLine3​(java.lang.String value)
      Setter for line3 Third line of the street address
    • getCity

      public java.lang.String getCity()
      Getter for city City component of the address
    • setCity

      public void setCity​(java.lang.String value)
      Setter for city City component of the address
    • getRegion

      public java.lang.String getRegion()
      Getter for region Name or ISO 3166 code identifying the region within the country. This field supports many different region identifiers: * Two and three character ISO 3166 region codes * Fully spelled out names of the region in ISO supported languages * Common alternative spellings for many regions For a full list of all supported codes and names, please see the Definitions API `ListRegions`.
    • setRegion

      public void setRegion​(java.lang.String value)
      Setter for region Name or ISO 3166 code identifying the region within the country. This field supports many different region identifiers: * Two and three character ISO 3166 region codes * Fully spelled out names of the region in ISO supported languages * Common alternative spellings for many regions For a full list of all supported codes and names, please see the Definitions API `ListRegions`.
    • getCountry

      public java.lang.String getCountry()
      Getter for country Name or ISO 3166 code identifying the country. This field supports many different country identifiers: * Two character ISO 3166 codes * Three character ISO 3166 codes * Fully spelled out names of the country in ISO supported languages * Common alternative spellings for many countries For a full list of all supported codes and names, please see the Definitions API `ListCountries`.
    • setCountry

      public void setCountry​(java.lang.String value)
      Setter for country Name or ISO 3166 code identifying the country. This field supports many different country identifiers: * Two character ISO 3166 codes * Three character ISO 3166 codes * Fully spelled out names of the country in ISO supported languages * Common alternative spellings for many countries For a full list of all supported codes and names, please see the Definitions API `ListCountries`.
    • getPostalCode

      public java.lang.String getPostalCode()
      Getter for postalCode Postal Code / Zip Code component of the address.
    • setPostalCode

      public void setPostalCode​(java.lang.String value)
      Setter for postalCode Postal Code / Zip Code component of the address.
    • getLatitude

      public java.math.BigDecimal getLatitude()
      Getter for latitude Geospatial latitude measurement, in Decimal Degrees floating point format.
    • setLatitude

      public void setLatitude​(java.math.BigDecimal value)
      Setter for latitude Geospatial latitude measurement, in Decimal Degrees floating point format.
    • getLongitude

      public java.math.BigDecimal getLongitude()
      Getter for longitude Geospatial longitude measurement, in Decimal Degrees floating point format.
    • setLongitude

      public void setLongitude​(java.math.BigDecimal value)
      Setter for longitude Geospatial longitude measurement, in Decimal Degrees floating point format.
    • toString

      public java.lang.String toString()
      Returns a JSON string representation of AddressLocationInfo
      Overrides:
      toString in class java.lang.Object