public class CustomerModel
extends java.lang.Object
Constructor and Description |
---|
CustomerModel() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlternateId()
Getter for alternateId
A customer-configurable alternate ID number for this customer.
|
java.lang.String |
getAttnName()
Getter for attnName
Indicates the "Attn:" component of the address for this customer, if this customer requires mailings to be shipped
to the attention of a specific person or department name.
|
java.util.ArrayList<CertificateModel> |
getCertificates()
Getter for certificates
A list of exemption certficates that apply to this customer.
|
java.lang.String |
getCity()
Getter for city
City component of the street address of this customer.
|
java.lang.Integer |
getCompanyId()
Getter for companyId
The unique ID number of the AvaTax company that recorded this customer.
|
java.lang.String |
getContactName()
Getter for contactName
The name of the main contact person for this customer.
|
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.String |
getCustomerCode()
Getter for customerCode
The unique code identifying this customer.
|
java.util.ArrayList<CustomFieldModel> |
getCustomFields()
Getter for customFields
A list of custom fields defined on this customer.
|
java.lang.String |
getEmailAddress()
Getter for emailAddress
The main email address for this customer.
|
java.util.ArrayList<ExposureZoneModel> |
getExposureZones()
Getter for exposureZones
A list of exposure zones where you do business with this customer.
|
java.lang.String |
getFaxNumber()
Getter for faxNumber
The fax phone number for this customer, if any.
|
java.lang.Integer |
getId()
Getter for id
Unique ID number of this customer.
|
java.lang.Boolean |
getIsBill()
Getter for isBill
True if this customer record is specifically used for bill-to purposes.
|
java.lang.Boolean |
getIsShip()
Getter for isShip
True if this customer record is specifically used for ship-to purposes.
|
java.util.Date |
getLastTransaction()
Getter for lastTransaction
Date when this customer last executed a transaction.
|
java.lang.String |
getLine1()
Getter for line1
First line of the street address of this customer.
|
java.lang.String |
getLine2()
Getter for line2
Second line of the street address of this customer.
|
java.util.Date |
getModifiedDate()
Getter for modifiedDate
The date/time when this record was last modified.
|
java.lang.String |
getName()
Getter for name
A friendly name identifying this customer.
|
java.lang.String |
getPhoneNumber()
Getter for phoneNumber
The main phone number for this customer.
|
java.lang.String |
getPostalCode()
Getter for postalCode
Postal Code / Zip Code component of the address of this customer.
|
java.lang.String |
getRegion()
Getter for region
ISO 3166 code identifying the region within the country.
|
java.util.ArrayList<CustomerModel> |
getShipTos()
Getter for shipTos
A list of ship-to customer records that are connected to this bill-to customer.
|
java.lang.String |
getTaxpayerIdNumber()
Getter for taxpayerIdNumber
For customers in the United States, this field is the federal taxpayer ID number.
|
void |
setAlternateId(java.lang.String value)
Setter for alternateId
A customer-configurable alternate ID number for this customer.
|
void |
setAttnName(java.lang.String value)
Setter for attnName
Indicates the "Attn:" component of the address for this customer, if this customer requires mailings to be shipped
to the attention of a specific person or department name.
|
void |
setCertificates(java.util.ArrayList<CertificateModel> value)
Setter for certificates
A list of exemption certficates that apply to this customer.
|
void |
setCity(java.lang.String value)
Setter for city
City component of the street address of this customer.
|
void |
setCompanyId(java.lang.Integer value)
Setter for companyId
The unique ID number of the AvaTax company that recorded this customer.
|
void |
setContactName(java.lang.String value)
Setter for contactName
The name of the main contact person for this customer.
|
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 |
setCustomerCode(java.lang.String value)
Setter for customerCode
The unique code identifying this customer.
|
void |
setCustomFields(java.util.ArrayList<CustomFieldModel> value)
Setter for customFields
A list of custom fields defined on this customer.
|
void |
setEmailAddress(java.lang.String value)
Setter for emailAddress
The main email address for this customer.
|
void |
setExposureZones(java.util.ArrayList<ExposureZoneModel> value)
Setter for exposureZones
A list of exposure zones where you do business with this customer.
|
void |
setFaxNumber(java.lang.String value)
Setter for faxNumber
The fax phone number for this customer, if any.
|
void |
setId(java.lang.Integer value)
Setter for id
Unique ID number of this customer.
|
void |
setIsBill(java.lang.Boolean value)
Setter for isBill
True if this customer record is specifically used for bill-to purposes.
|
void |
setIsShip(java.lang.Boolean value)
Setter for isShip
True if this customer record is specifically used for ship-to purposes.
|
void |
setLastTransaction(java.util.Date value)
Setter for lastTransaction
Date when this customer last executed a transaction.
|
void |
setLine1(java.lang.String value)
Setter for line1
First line of the street address of this customer.
|
void |
setLine2(java.lang.String value)
Setter for line2
Second line of the street address of this customer.
|
void |
setModifiedDate(java.util.Date value)
Setter for modifiedDate
The date/time when this record was last modified.
|
void |
setName(java.lang.String value)
Setter for name
A friendly name identifying this customer.
|
void |
setPhoneNumber(java.lang.String value)
Setter for phoneNumber
The main phone number for this customer.
|
void |
setPostalCode(java.lang.String value)
Setter for postalCode
Postal Code / Zip Code component of the address of this customer.
|
void |
setRegion(java.lang.String value)
Setter for region
ISO 3166 code identifying the region within the country.
|
void |
setShipTos(java.util.ArrayList<CustomerModel> value)
Setter for shipTos
A list of ship-to customer records that are connected to this bill-to customer.
|
void |
setTaxpayerIdNumber(java.lang.String value)
Setter for taxpayerIdNumber
For customers in the United States, this field is the federal taxpayer ID number.
|
java.lang.String |
toString()
Returns a JSON string representation of CustomerModel
|
public java.lang.Integer getId()
public void setId(java.lang.Integer value)
public java.lang.Integer getCompanyId()
public void setCompanyId(java.lang.Integer value)
public java.lang.String getCustomerCode()
public void setCustomerCode(java.lang.String value)
public java.lang.String getAlternateId()
public void setAlternateId(java.lang.String value)
public java.lang.String getName()
public void setName(java.lang.String value)
public java.lang.String getAttnName()
public void setAttnName(java.lang.String value)
public java.lang.String getLine1()
public void setLine1(java.lang.String value)
public java.lang.String getLine2()
public void setLine2(java.lang.String value)
public java.lang.String getCity()
public void setCity(java.lang.String value)
public java.lang.String getPostalCode()
public void setPostalCode(java.lang.String value)
public java.lang.String getPhoneNumber()
public void setPhoneNumber(java.lang.String value)
public java.lang.String getFaxNumber()
public void setFaxNumber(java.lang.String value)
public java.lang.String getEmailAddress()
public void setEmailAddress(java.lang.String value)
public java.lang.String getContactName()
public void setContactName(java.lang.String value)
public java.util.Date getLastTransaction()
public void setLastTransaction(java.util.Date value)
public java.util.Date getCreatedDate()
public void setCreatedDate(java.util.Date value)
public java.util.Date getModifiedDate()
public void setModifiedDate(java.util.Date value)
public java.lang.String getCountry()
public void setCountry(java.lang.String value)
public java.lang.String getRegion()
public void setRegion(java.lang.String value)
public java.lang.Boolean getIsBill()
public void setIsBill(java.lang.Boolean value)
public java.lang.Boolean getIsShip()
public void setIsShip(java.lang.Boolean value)
public java.lang.String getTaxpayerIdNumber()
public void setTaxpayerIdNumber(java.lang.String value)
public java.util.ArrayList<CertificateModel> getCertificates()
public void setCertificates(java.util.ArrayList<CertificateModel> value)
public java.util.ArrayList<CustomFieldModel> getCustomFields()
public void setCustomFields(java.util.ArrayList<CustomFieldModel> value)
public java.util.ArrayList<ExposureZoneModel> getExposureZones()
public void setExposureZones(java.util.ArrayList<ExposureZoneModel> value)
public java.util.ArrayList<CustomerModel> getShipTos()
public void setShipTos(java.util.ArrayList<CustomerModel> value)
public java.lang.String toString()
toString
in class java.lang.Object