Class ContactModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.ContactModel
-
public class ContactModel extends java.lang.ObjectA contact person for a company.
-
-
Constructor Summary
Constructors Constructor Description ContactModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCity()Getter for city The city of the postal mailing address of this contact.java.lang.IntegergetCompanyId()Getter for companyId The unique ID number of the company to which this contact belongs.java.lang.StringgetContactCode()Getter for contactCode A unique code for this contact.java.lang.StringgetCountry()Getter for country Name or ISO 3166 code identifying the country.java.util.DategetCreatedDate()Getter for createdDate The date when this record was created.java.lang.IntegergetCreatedUserId()Getter for createdUserId The User ID of the user who created this record.java.lang.StringgetEmail()Getter for email The email address of this contact.java.lang.StringgetFax()Getter for fax The facsimile phone number for this contact.java.lang.StringgetFirstName()Getter for firstName The first or given name of this contact.java.lang.IntegergetId()Getter for id The unique ID number of this contact.java.lang.StringgetLastName()Getter for lastName The last or family name of this contact.java.lang.StringgetLine1()Getter for line1 The first line of the postal mailing address of this contact.java.lang.StringgetLine2()Getter for line2 The second line of the postal mailing address of this contact.java.lang.StringgetLine3()Getter for line3 The third line of the postal mailing address of this contact.java.lang.StringgetMiddleName()Getter for middleName The middle name of this contact.java.lang.StringgetMobile()Getter for mobile The mobile phone number for this contact.java.util.DategetModifiedDate()Getter for modifiedDate The date/time when this record was last modified.java.lang.IntegergetModifiedUserId()Getter for modifiedUserId The user ID of the user who last modified this record.java.lang.StringgetPhone()Getter for phone The main phone number for this contact.java.lang.StringgetPostalCode()Getter for postalCode The postal code or zip code of the postal mailing address of this contact.java.lang.StringgetRegion()Getter for region Name or ISO 3166 code identifying the region within the country.java.lang.StringgetTitle()Getter for title Professional title of this contact.voidsetCity(java.lang.String value)Setter for city The city of the postal mailing address of this contact.voidsetCompanyId(java.lang.Integer value)Setter for companyId The unique ID number of the company to which this contact belongs.voidsetContactCode(java.lang.String value)Setter for contactCode A unique code for this contact.voidsetCountry(java.lang.String value)Setter for country Name or ISO 3166 code identifying the country.voidsetCreatedDate(java.util.Date value)Setter for createdDate The date when this record was created.voidsetCreatedUserId(java.lang.Integer value)Setter for createdUserId The User ID of the user who created this record.voidsetEmail(java.lang.String value)Setter for email The email address of this contact.voidsetFax(java.lang.String value)Setter for fax The facsimile phone number for this contact.voidsetFirstName(java.lang.String value)Setter for firstName The first or given name of this contact.voidsetId(java.lang.Integer value)Setter for id The unique ID number of this contact.voidsetLastName(java.lang.String value)Setter for lastName The last or family name of this contact.voidsetLine1(java.lang.String value)Setter for line1 The first line of the postal mailing address of this contact.voidsetLine2(java.lang.String value)Setter for line2 The second line of the postal mailing address of this contact.voidsetLine3(java.lang.String value)Setter for line3 The third line of the postal mailing address of this contact.voidsetMiddleName(java.lang.String value)Setter for middleName The middle name of this contact.voidsetMobile(java.lang.String value)Setter for mobile The mobile phone number for this contact.voidsetModifiedDate(java.util.Date value)Setter for modifiedDate The date/time when this record was last modified.voidsetModifiedUserId(java.lang.Integer value)Setter for modifiedUserId The user ID of the user who last modified this record.voidsetPhone(java.lang.String value)Setter for phone The main phone number for this contact.voidsetPostalCode(java.lang.String value)Setter for postalCode The postal code or zip code of the postal mailing address of this contact.voidsetRegion(java.lang.String value)Setter for region Name or ISO 3166 code identifying the region within the country.voidsetTitle(java.lang.String value)Setter for title Professional title of this contact.java.lang.StringtoString()Returns a JSON string representation of ContactModel
-
-
-
Method Detail
-
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:
toStringin classjava.lang.Object
-
-