Class ContactModel

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Getter for city The city of the postal mailing address of this contact.
    Getter for companyId The unique ID number of the company to which this contact belongs.
    Getter for contactCode A unique code for this contact.
    Getter for country Name or ISO 3166 code identifying the country.
    Getter for createdDate The date when this record was created.
    Getter for createdUserId The User ID of the user who created this record.
    Getter for email The email address of this contact.
    Getter for fax The facsimile phone number for this contact.
    Getter for firstName The first or given name of this contact.
    Getter for id The unique ID number of this contact.
    Getter for lastName The last or family name of this contact.
    Getter for line1 The first line of the postal mailing address of this contact.
    Getter for line2 The second line of the postal mailing address of this contact.
    Getter for line3 The third line of the postal mailing address of this contact.
    Getter for middleName The middle name of this contact.
    Getter for mobile The mobile phone number for this contact.
    Getter for modifiedDate The date/time when this record was last modified.
    Getter for modifiedUserId The user ID of the user who last modified this record.
    Getter for phone The main phone number for this contact.
    Getter for postalCode The postal code or zip code of the postal mailing address of this contact.
    Getter for region Name or ISO 3166 code identifying the region within the country.
    Getter for title Professional title of this contact.
    void
    setCity(String value)
    Setter for city The city of the postal mailing address of this contact.
    void
    Setter for companyId The unique ID number of the company to which this contact belongs.
    void
    Setter for contactCode A unique code for this contact.
    void
    Setter for country Name or ISO 3166 code identifying the country.
    void
    Setter for createdDate The date when this record was created.
    void
    Setter for createdUserId The User ID of the user who created this record.
    void
    Setter for email The email address of this contact.
    void
    setFax(String value)
    Setter for fax The facsimile phone number for this contact.
    void
    Setter for firstName The first or given name of this contact.
    void
    setId(Integer value)
    Setter for id The unique ID number of this contact.
    void
    Setter for lastName The last or family name of this contact.
    void
    Setter for line1 The first line of the postal mailing address of this contact.
    void
    Setter for line2 The second line of the postal mailing address of this contact.
    void
    Setter for line3 The third line of the postal mailing address of this contact.
    void
    Setter for middleName The middle name of this contact.
    void
    Setter for mobile The mobile phone number for this contact.
    void
    Setter for modifiedDate The date/time when this record was last modified.
    void
    Setter for modifiedUserId The user ID of the user who last modified this record.
    void
    Setter for phone The main phone number for this contact.
    void
    Setter for postalCode The postal code or zip code of the postal mailing address of this contact.
    void
    Setter for region Name or ISO 3166 code identifying the region within the country.
    void
    Setter for title Professional title of this contact.
    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

    • ContactModel

      public ContactModel()
  • Method Details

    • getId

      public Integer getId()
      Getter for id The unique ID number of this contact.
    • setId

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public void setCity(String value)
      Setter for city The city of the postal mailing address of this contact.
    • getRegion

      public 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(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 String getPostalCode()
      Getter for postalCode The postal code or zip code of the postal mailing address of this contact.
    • setPostalCode

      public void setPostalCode(String value)
      Setter for postalCode The postal code or zip code of the postal mailing address of this contact.
    • getCountry

      public 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(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 String getEmail()
      Getter for email The email address of this contact.
    • setEmail

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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