Class ContactModel

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

public class ContactModel
extends java.lang.Object
A contact person for a company.
  • Constructor Summary

    Constructors 
    Constructor Description
    ContactModel()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getCity()
    Getter for city The city of the postal mailing address of this contact.
    java.lang.Integer getCompanyId()
    Getter for companyId The unique ID number of the company to which this contact belongs.
    java.lang.String getContactCode()
    Getter for contactCode A unique code for this contact.
    java.lang.String getCountry()
    Getter for country Name or ISO 3166 code identifying the country.
    java.util.Date getCreatedDate()
    Getter for createdDate The date when this record was created.
    java.lang.Integer getCreatedUserId()
    Getter for createdUserId The User ID of the user who created this record.
    java.lang.String getEmail()
    Getter for email The email address of this contact.
    java.lang.String getFax()
    Getter for fax The facsimile phone number for this contact.
    java.lang.String getFirstName()
    Getter for firstName The first or given name of this contact.
    java.lang.Integer getId()
    Getter for id The unique ID number of this contact.
    java.lang.String getLastName()
    Getter for lastName The last or family name of this contact.
    java.lang.String getLine1()
    Getter for line1 The first line of the postal mailing address of this contact.
    java.lang.String getLine2()
    Getter for line2 The second line of the postal mailing address of this contact.
    java.lang.String getLine3()
    Getter for line3 The third line of the postal mailing address of this contact.
    java.lang.String getMiddleName()
    Getter for middleName The middle name of this contact.
    java.lang.String getMobile()
    Getter for mobile The mobile phone number for this contact.
    java.util.Date getModifiedDate()
    Getter for modifiedDate The date/time when this record was last modified.
    java.lang.Integer getModifiedUserId()
    Getter for modifiedUserId The user ID of the user who last modified this record.
    java.lang.String getPhone()
    Getter for phone The main phone number for this contact.
    java.lang.String getPostalCode()
    Getter for postalCode The postal code or zip code of the postal mailing address of this contact.
    java.lang.String getRegion()
    Getter for region Name or ISO 3166 code identifying the region within the country.
    java.lang.String getTitle()
    Getter for title Professional title of this contact.
    void setCity​(java.lang.String value)
    Setter for city The city of the postal mailing address of this contact.
    void setCompanyId​(java.lang.Integer value)
    Setter for companyId The unique ID number of the company to which this contact belongs.
    void setContactCode​(java.lang.String value)
    Setter for contactCode A unique code for this contact.
    void setCountry​(java.lang.String value)
    Setter for country Name or ISO 3166 code identifying the country.
    void setCreatedDate​(java.util.Date value)
    Setter for createdDate The date when this record was created.
    void setCreatedUserId​(java.lang.Integer value)
    Setter for createdUserId The User ID of the user who created this record.
    void setEmail​(java.lang.String value)
    Setter for email The email address of this contact.
    void setFax​(java.lang.String value)
    Setter for fax The facsimile phone number for this contact.
    void setFirstName​(java.lang.String value)
    Setter for firstName The first or given name of this contact.
    void setId​(java.lang.Integer value)
    Setter for id The unique ID number of this contact.
    void setLastName​(java.lang.String value)
    Setter for lastName The last or family name of this contact.
    void setLine1​(java.lang.String value)
    Setter for line1 The first line of the postal mailing address of this contact.
    void setLine2​(java.lang.String value)
    Setter for line2 The second line of the postal mailing address of this contact.
    void setLine3​(java.lang.String value)
    Setter for line3 The third line of the postal mailing address of this contact.
    void setMiddleName​(java.lang.String value)
    Setter for middleName The middle name of this contact.
    void setMobile​(java.lang.String value)
    Setter for mobile The mobile phone number for this contact.
    void setModifiedDate​(java.util.Date value)
    Setter for modifiedDate The date/time when this record was last modified.
    void setModifiedUserId​(java.lang.Integer value)
    Setter for modifiedUserId The user ID of the user who last modified this record.
    void setPhone​(java.lang.String value)
    Setter for phone The main phone number for this contact.
    void setPostalCode​(java.lang.String value)
    Setter for postalCode The postal code or zip code of the postal mailing address of this contact.
    void setRegion​(java.lang.String value)
    Setter for region Name or ISO 3166 code identifying the region within the country.
    void setTitle​(java.lang.String value)
    Setter for title Professional title of this contact.
    java.lang.String toString()
    Returns a JSON string representation of ContactModel

    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.Integer getId()
      Getter for id The unique ID number of this contact.
    • setId

      public void setId​(java.lang.Integer value)
      Setter for id The unique ID number of this contact.
    • getCompanyId

      public java.lang.Integer getCompanyId()
      Getter for companyId The unique ID number of the company to which this contact belongs.
    • setCompanyId

      public void setCompanyId​(java.lang.Integer value)
      Setter for companyId The unique ID number of the company to which this contact belongs.
    • getContactCode

      public java.lang.String getContactCode()
      Getter for contactCode A unique code for this contact.
    • setContactCode

      public void setContactCode​(java.lang.String value)
      Setter for contactCode A unique code for this contact.
    • getFirstName

      public java.lang.String getFirstName()
      Getter for firstName The first or given name of this contact.
    • setFirstName

      public void setFirstName​(java.lang.String value)
      Setter for firstName The first or given name of this contact.
    • getMiddleName

      public java.lang.String getMiddleName()
      Getter for middleName The middle name of this contact.
    • setMiddleName

      public void setMiddleName​(java.lang.String value)
      Setter for middleName The middle name of this contact.
    • getLastName

      public java.lang.String getLastName()
      Getter for lastName The last or family name of this contact.
    • setLastName

      public void setLastName​(java.lang.String value)
      Setter for lastName The last or family name of this contact.
    • getTitle

      public java.lang.String getTitle()
      Getter for title Professional title of this contact.
    • setTitle

      public void setTitle​(java.lang.String value)
      Setter for title Professional title of this contact.
    • getLine1

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

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

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

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

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

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

      public java.lang.String getCity()
      Getter for city The city of the postal mailing address of this contact.
    • setCity

      public void setCity​(java.lang.String value)
      Setter for city The city of the postal mailing address of this contact.
    • 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`.
    • getPostalCode

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

      public void setPostalCode​(java.lang.String value)
      Setter for postalCode The postal code or zip code of the postal mailing address of this contact.
    • 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`.
    • getEmail

      public java.lang.String getEmail()
      Getter for email The email address of this contact.
    • setEmail

      public void setEmail​(java.lang.String value)
      Setter for email The email address of this contact.
    • getPhone

      public java.lang.String getPhone()
      Getter for phone The main phone number for this contact.
    • setPhone

      public void setPhone​(java.lang.String value)
      Setter for phone The main phone number for this contact.
    • getMobile

      public java.lang.String getMobile()
      Getter for mobile The mobile phone number for this contact.
    • setMobile

      public void setMobile​(java.lang.String value)
      Setter for mobile The mobile phone number for this contact.
    • getFax

      public java.lang.String getFax()
      Getter for fax The facsimile phone number for this contact.
    • setFax

      public void setFax​(java.lang.String value)
      Setter for fax The facsimile phone number for this contact.
    • getCreatedDate

      public java.util.Date getCreatedDate()
      Getter for createdDate The date when this record was created.
    • setCreatedDate

      public void setCreatedDate​(java.util.Date value)
      Setter for createdDate The date when this record was created.
    • getCreatedUserId

      public java.lang.Integer getCreatedUserId()
      Getter for createdUserId The User ID of the user who created this record.
    • setCreatedUserId

      public void setCreatedUserId​(java.lang.Integer value)
      Setter for createdUserId The User ID of the user who created this record.
    • getModifiedDate

      public java.util.Date getModifiedDate()
      Getter for modifiedDate The date/time when this record was last modified.
    • setModifiedDate

      public void setModifiedDate​(java.util.Date value)
      Setter for modifiedDate The date/time when this record was last modified.
    • getModifiedUserId

      public java.lang.Integer getModifiedUserId()
      Getter for modifiedUserId The user ID of the user who last modified this record.
    • setModifiedUserId

      public void setModifiedUserId​(java.lang.Integer value)
      Setter for modifiedUserId The user ID of the user who last modified this record.
    • toString

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