Class TransactionAddressModel

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

public class TransactionAddressModel
extends java.lang.Object
An address used within this transaction.
  • Constructor Summary

    Constructors 
    Constructor Description
    TransactionAddressModel()  
  • Method Summary

    Modifier and Type Method Description
    BoundaryLevel getBoundaryLevel()
    Getter for boundaryLevel The boundary level at which this address was validated.
    java.lang.String getCity()
    Getter for city The city for the address.
    java.lang.String getCountry()
    Getter for country The ISO 3166 country code
    java.lang.Long getId()
    Getter for id The unique ID number of this address.
    java.lang.String getLatitude()
    Getter for latitude Latitude for this address
    java.lang.String getLine1()
    Getter for line1 The first line of the address.
    java.lang.String getLine2()
    Getter for line2 The second line of the address.
    java.lang.String getLine3()
    Getter for line3 The third line of the address.
    java.lang.String getLongitude()
    Getter for longitude Longitude for this address
    java.lang.String getPostalCode()
    Getter for postalCode The postal code or zip code for the address.
    java.lang.String getRegion()
    Getter for region The ISO 3166 region code.
    java.lang.Integer getTaxRegionId()
    Getter for taxRegionId The unique ID number of the tax region for this address.
    java.lang.Long getTransactionId()
    Getter for transactionId The unique ID number of the document to which this address belongs.
    void setBoundaryLevel​(BoundaryLevel value)
    Setter for boundaryLevel The boundary level at which this address was validated.
    void setCity​(java.lang.String value)
    Setter for city The city for the address.
    void setCountry​(java.lang.String value)
    Setter for country The ISO 3166 country code
    void setId​(java.lang.Long value)
    Setter for id The unique ID number of this address.
    void setLatitude​(java.lang.String value)
    Setter for latitude Latitude for this address
    void setLine1​(java.lang.String value)
    Setter for line1 The first line of the address.
    void setLine2​(java.lang.String value)
    Setter for line2 The second line of the address.
    void setLine3​(java.lang.String value)
    Setter for line3 The third line of the address.
    void setLongitude​(java.lang.String value)
    Setter for longitude Longitude for this address
    void setPostalCode​(java.lang.String value)
    Setter for postalCode The postal code or zip code for the address.
    void setRegion​(java.lang.String value)
    Setter for region The ISO 3166 region code.
    void setTaxRegionId​(java.lang.Integer value)
    Setter for taxRegionId The unique ID number of the tax region for this address.
    void setTransactionId​(java.lang.Long value)
    Setter for transactionId The unique ID number of the document to which this address belongs.
    java.lang.String toString()
    Returns a JSON string representation of TransactionAddressModel

    Methods inherited from class java.lang.Object

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

  • Method Details

    • getId

      public java.lang.Long getId()
      Getter for id The unique ID number of this address.
    • setId

      public void setId​(java.lang.Long value)
      Setter for id The unique ID number of this address.
    • getTransactionId

      public java.lang.Long getTransactionId()
      Getter for transactionId The unique ID number of the document to which this address belongs.
    • setTransactionId

      public void setTransactionId​(java.lang.Long value)
      Setter for transactionId The unique ID number of the document to which this address belongs.
    • getBoundaryLevel

      public BoundaryLevel getBoundaryLevel()
      Getter for boundaryLevel The boundary level at which this address was validated.
    • setBoundaryLevel

      public void setBoundaryLevel​(BoundaryLevel value)
      Setter for boundaryLevel The boundary level at which this address was validated.
    • getLine1

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

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

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

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

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

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

      public java.lang.String getCity()
      Getter for city The city for the address.
    • setCity

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

      public java.lang.String getRegion()
      Getter for region The ISO 3166 region code. E.g., the second part of ISO 3166-2.
    • setRegion

      public void setRegion​(java.lang.String value)
      Setter for region The ISO 3166 region code. E.g., the second part of ISO 3166-2.
    • getPostalCode

      public java.lang.String getPostalCode()
      Getter for postalCode The postal code or zip code for the address.
    • setPostalCode

      public void setPostalCode​(java.lang.String value)
      Setter for postalCode The postal code or zip code for the address.
    • getCountry

      public java.lang.String getCountry()
      Getter for country The ISO 3166 country code
    • setCountry

      public void setCountry​(java.lang.String value)
      Setter for country The ISO 3166 country code
    • getTaxRegionId

      public java.lang.Integer getTaxRegionId()
      Getter for taxRegionId The unique ID number of the tax region for this address.
    • setTaxRegionId

      public void setTaxRegionId​(java.lang.Integer value)
      Setter for taxRegionId The unique ID number of the tax region for this address.
    • getLatitude

      public java.lang.String getLatitude()
      Getter for latitude Latitude for this address
    • setLatitude

      public void setLatitude​(java.lang.String value)
      Setter for latitude Latitude for this address
    • getLongitude

      public java.lang.String getLongitude()
      Getter for longitude Longitude for this address
    • setLongitude

      public void setLongitude​(java.lang.String value)
      Setter for longitude Longitude for this address
    • toString

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