Class EcmsModel
java.lang.Object
net.avalara.avatax.rest.client.models.EcmsModel
public class EcmsModel
extends java.lang.Object
Exempt certificate
-
Constructor Summary
Constructors Constructor Description EcmsModel()
-
Method Summary
Modifier and Type Method Description java.lang.String
getAddress1()
Getter for address1 Address line 1java.lang.String
getAddress2()
Getter for address2 Address line 2java.lang.String
getAddress3()
Getter for address3 Address line 3java.lang.String
getAvaCertId()
Getter for avaCertId If the certificate record was synced from an AvaTax Certs account(as opposed to being entered in ECMS directly), the unique AvaTax Certs identifier for the certificate record.java.lang.Integer
getBusinessTypeId()
Getter for businessTypeId Business type the customer belongs to.java.lang.String
getBusinessTypeOtherDescription()
Getter for businessTypeOtherDescription Other description for this business typejava.lang.String
getCity()
Getter for city Cityjava.lang.Integer
getCompanyId()
Getter for companyId Company IDjava.lang.String
getCountry()
Getter for country Name or ISO 3166 code identifying the country.java.lang.String
getCountryIssued()
Getter for countryIssued Name or ISO 3166 code identifying the country that issued this ECMS certificate.java.util.Date
getCreatedDate()
Getter for createdDate Date when this exempt certificate was createdjava.lang.Integer
getCreatedUserId()
Getter for createdUserId User that creates the certificatejava.lang.String
getCustomerCode()
Getter for customerCode Customer codejava.lang.String
getCustomerName()
Getter for customerName Customer namejava.util.ArrayList<EcmsDetailModel>
getDetails()
Getter for details Exempt Cert detailsjava.lang.String
getDocumentRefNo()
Getter for documentRefNo Document Reference Number, in the case of single-use exemption certificates, the DocumentCode or PurchaseOrderNo to which the certificate should apply.java.util.Date
getEffectiveDate()
Getter for effectiveDate Effective date for this exempt certificatejava.lang.Integer
getExemptCertId()
Getter for exemptCertId The calc_id associated with a certificate in CertCapture.ExemptCertReviewStatusId
getExemptCertReviewStatusId()
Getter for exemptCertReviewStatusId Review status for this exempt certificateExemptCertStatusId
getExemptCertStatusId()
Getter for exemptCertStatusId Status for this exempt certificateExemptCertTypeId
getExemptCertTypeId()
Getter for exemptCertTypeId The type of exemption certificate.java.lang.String
getExemptReasonId()
Getter for exemptReasonId Exempt reason associated with the certificate, coded by CustomerUsageType.java.lang.String
getExemptReasonOtherDescription()
Getter for exemptReasonOtherDescription Other description for exempt reason i.e.java.util.Date
getExpiryDate()
Getter for expiryDate When this exempt certificate will expirejava.util.Date
getLastTransactionDate()
Getter for lastTransactionDate Date when last transaction with this exempt certificate happenedjava.util.Date
getModifiedDate()
Getter for modifiedDate Date when this exempt certificate was modifiedjava.lang.Integer
getModifiedUserId()
Getter for modifiedUserId Who modified this exempt certificatejava.lang.String
getPostalCode()
Getter for postalCode Postal code / zip codejava.lang.String
getRegion()
Getter for region Name or ISO 3166 code identifying the region within the country.java.lang.String
getRegionsApplicable()
Getter for regionsApplicable A list of applicable regions for this exempt certificate.void
setAddress1(java.lang.String value)
Setter for address1 Address line 1void
setAddress2(java.lang.String value)
Setter for address2 Address line 2void
setAddress3(java.lang.String value)
Setter for address3 Address line 3void
setAvaCertId(java.lang.String value)
Setter for avaCertId If the certificate record was synced from an AvaTax Certs account(as opposed to being entered in ECMS directly), the unique AvaTax Certs identifier for the certificate record.void
setBusinessTypeId(java.lang.Integer value)
Setter for businessTypeId Business type the customer belongs to.void
setBusinessTypeOtherDescription(java.lang.String value)
Setter for businessTypeOtherDescription Other description for this business typevoid
setCity(java.lang.String value)
Setter for city Cityvoid
setCompanyId(java.lang.Integer value)
Setter for companyId Company IDvoid
setCountry(java.lang.String value)
Setter for country Name or ISO 3166 code identifying the country.void
setCountryIssued(java.lang.String value)
Setter for countryIssued Name or ISO 3166 code identifying the country that issued this ECMS certificate.void
setCreatedDate(java.util.Date value)
Setter for createdDate Date when this exempt certificate was createdvoid
setCreatedUserId(java.lang.Integer value)
Setter for createdUserId User that creates the certificatevoid
setCustomerCode(java.lang.String value)
Setter for customerCode Customer codevoid
setCustomerName(java.lang.String value)
Setter for customerName Customer namevoid
setDetails(java.util.ArrayList<EcmsDetailModel> value)
Setter for details Exempt Cert detailsvoid
setDocumentRefNo(java.lang.String value)
Setter for documentRefNo Document Reference Number, in the case of single-use exemption certificates, the DocumentCode or PurchaseOrderNo to which the certificate should apply.void
setEffectiveDate(java.util.Date value)
Setter for effectiveDate Effective date for this exempt certificatevoid
setExemptCertId(java.lang.Integer value)
Setter for exemptCertId The calc_id associated with a certificate in CertCapture.void
setExemptCertReviewStatusId(ExemptCertReviewStatusId value)
Setter for exemptCertReviewStatusId Review status for this exempt certificatevoid
setExemptCertStatusId(ExemptCertStatusId value)
Setter for exemptCertStatusId Status for this exempt certificatevoid
setExemptCertTypeId(ExemptCertTypeId value)
Setter for exemptCertTypeId The type of exemption certificate.void
setExemptReasonId(java.lang.String value)
Setter for exemptReasonId Exempt reason associated with the certificate, coded by CustomerUsageType.void
setExemptReasonOtherDescription(java.lang.String value)
Setter for exemptReasonOtherDescription Other description for exempt reason i.e.void
setExpiryDate(java.util.Date value)
Setter for expiryDate When this exempt certificate will expirevoid
setLastTransactionDate(java.util.Date value)
Setter for lastTransactionDate Date when last transaction with this exempt certificate happenedvoid
setModifiedDate(java.util.Date value)
Setter for modifiedDate Date when this exempt certificate was modifiedvoid
setModifiedUserId(java.lang.Integer value)
Setter for modifiedUserId Who modified this exempt certificatevoid
setPostalCode(java.lang.String value)
Setter for postalCode Postal code / zip codevoid
setRegion(java.lang.String value)
Setter for region Name or ISO 3166 code identifying the region within the country.void
setRegionsApplicable(java.lang.String value)
Setter for regionsApplicable A list of applicable regions for this exempt certificate.java.lang.String
toString()
Returns a JSON string representation of EcmsModel
-
Constructor Details
-
EcmsModel
public EcmsModel()
-
-
Method Details
-
getExemptCertId
public java.lang.Integer getExemptCertId()Getter for exemptCertId The calc_id associated with a certificate in CertCapture. -
setExemptCertId
public void setExemptCertId(java.lang.Integer value)Setter for exemptCertId The calc_id associated with a certificate in CertCapture. -
getCompanyId
public java.lang.Integer getCompanyId()Getter for companyId Company ID -
setCompanyId
public void setCompanyId(java.lang.Integer value)Setter for companyId Company ID -
getCustomerCode
public java.lang.String getCustomerCode()Getter for customerCode Customer code -
setCustomerCode
public void setCustomerCode(java.lang.String value)Setter for customerCode Customer code -
getCustomerName
public java.lang.String getCustomerName()Getter for customerName Customer name -
setCustomerName
public void setCustomerName(java.lang.String value)Setter for customerName Customer name -
getAddress1
public java.lang.String getAddress1()Getter for address1 Address line 1 -
setAddress1
public void setAddress1(java.lang.String value)Setter for address1 Address line 1 -
getAddress2
public java.lang.String getAddress2()Getter for address2 Address line 2 -
setAddress2
public void setAddress2(java.lang.String value)Setter for address2 Address line 2 -
getAddress3
public java.lang.String getAddress3()Getter for address3 Address line 3 -
setAddress3
public void setAddress3(java.lang.String value)Setter for address3 Address line 3 -
getCity
public java.lang.String getCity()Getter for city City -
setCity
public void setCity(java.lang.String value)Setter for city City -
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 Postal code / zip code -
setPostalCode
public void setPostalCode(java.lang.String value)Setter for postalCode Postal code / zip code -
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`. -
getExemptCertTypeId
Getter for exemptCertTypeId The type of exemption certificate. Permitted values are: Blanket and Single. -
setExemptCertTypeId
Setter for exemptCertTypeId The type of exemption certificate. Permitted values are: Blanket and Single. -
getDocumentRefNo
public java.lang.String getDocumentRefNo()Getter for documentRefNo Document Reference Number, in the case of single-use exemption certificates, the DocumentCode or PurchaseOrderNo to which the certificate should apply. -
setDocumentRefNo
public void setDocumentRefNo(java.lang.String value)Setter for documentRefNo Document Reference Number, in the case of single-use exemption certificates, the DocumentCode or PurchaseOrderNo to which the certificate should apply. -
getBusinessTypeId
public java.lang.Integer getBusinessTypeId()Getter for businessTypeId Business type the customer belongs to. -
setBusinessTypeId
public void setBusinessTypeId(java.lang.Integer value)Setter for businessTypeId Business type the customer belongs to. -
getBusinessTypeOtherDescription
public java.lang.String getBusinessTypeOtherDescription()Getter for businessTypeOtherDescription Other description for this business type -
setBusinessTypeOtherDescription
public void setBusinessTypeOtherDescription(java.lang.String value)Setter for businessTypeOtherDescription Other description for this business type -
getExemptReasonId
public java.lang.String getExemptReasonId()Getter for exemptReasonId Exempt reason associated with the certificate, coded by CustomerUsageType. Example: A - Federal Government. -
setExemptReasonId
public void setExemptReasonId(java.lang.String value)Setter for exemptReasonId Exempt reason associated with the certificate, coded by CustomerUsageType. Example: A - Federal Government. -
getExemptReasonOtherDescription
public java.lang.String getExemptReasonOtherDescription()Getter for exemptReasonOtherDescription Other description for exempt reason i.e. Populated on if exemptReasonId is 'L' - Other. -
setExemptReasonOtherDescription
public void setExemptReasonOtherDescription(java.lang.String value)Setter for exemptReasonOtherDescription Other description for exempt reason i.e. Populated on if exemptReasonId is 'L' - Other. -
getEffectiveDate
public java.util.Date getEffectiveDate()Getter for effectiveDate Effective date for this exempt certificate -
setEffectiveDate
public void setEffectiveDate(java.util.Date value)Setter for effectiveDate Effective date for this exempt certificate -
getRegionsApplicable
public java.lang.String getRegionsApplicable()Getter for regionsApplicable A list of applicable regions for this exempt certificate. To list more than one applicable region, separate the list of region codes with commas. -
setRegionsApplicable
public void setRegionsApplicable(java.lang.String value)Setter for regionsApplicable A list of applicable regions for this exempt certificate. To list more than one applicable region, separate the list of region codes with commas. -
getExemptCertStatusId
Getter for exemptCertStatusId Status for this exempt certificate -
setExemptCertStatusId
Setter for exemptCertStatusId Status for this exempt certificate -
getCreatedDate
public java.util.Date getCreatedDate()Getter for createdDate Date when this exempt certificate was created -
setCreatedDate
public void setCreatedDate(java.util.Date value)Setter for createdDate Date when this exempt certificate was created -
getLastTransactionDate
public java.util.Date getLastTransactionDate()Getter for lastTransactionDate Date when last transaction with this exempt certificate happened -
setLastTransactionDate
public void setLastTransactionDate(java.util.Date value)Setter for lastTransactionDate Date when last transaction with this exempt certificate happened -
getExpiryDate
public java.util.Date getExpiryDate()Getter for expiryDate When this exempt certificate will expire -
setExpiryDate
public void setExpiryDate(java.util.Date value)Setter for expiryDate When this exempt certificate will expire -
getCreatedUserId
public java.lang.Integer getCreatedUserId()Getter for createdUserId User that creates the certificate -
setCreatedUserId
public void setCreatedUserId(java.lang.Integer value)Setter for createdUserId User that creates the certificate -
getModifiedDate
public java.util.Date getModifiedDate()Getter for modifiedDate Date when this exempt certificate was modified -
setModifiedDate
public void setModifiedDate(java.util.Date value)Setter for modifiedDate Date when this exempt certificate was modified -
getModifiedUserId
public java.lang.Integer getModifiedUserId()Getter for modifiedUserId Who modified this exempt certificate -
setModifiedUserId
public void setModifiedUserId(java.lang.Integer value)Setter for modifiedUserId Who modified this exempt certificate -
getCountryIssued
public java.lang.String getCountryIssued()Getter for countryIssued Name or ISO 3166 code identifying the country that issued this ECMS certificate. 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`. -
setCountryIssued
public void setCountryIssued(java.lang.String value)Setter for countryIssued Name or ISO 3166 code identifying the country that issued this ECMS certificate. 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`. -
getAvaCertId
public java.lang.String getAvaCertId()Getter for avaCertId If the certificate record was synced from an AvaTax Certs account(as opposed to being entered in ECMS directly), the unique AvaTax Certs identifier for the certificate record. Usually same as the Id of a Certificate. -
setAvaCertId
public void setAvaCertId(java.lang.String value)Setter for avaCertId If the certificate record was synced from an AvaTax Certs account(as opposed to being entered in ECMS directly), the unique AvaTax Certs identifier for the certificate record. Usually same as the Id of a Certificate. -
getExemptCertReviewStatusId
Getter for exemptCertReviewStatusId Review status for this exempt certificate -
setExemptCertReviewStatusId
Setter for exemptCertReviewStatusId Review status for this exempt certificate -
getDetails
Getter for details Exempt Cert details -
setDetails
Setter for details Exempt Cert details -
toString
public java.lang.String toString()Returns a JSON string representation of EcmsModel- Overrides:
toString
in classjava.lang.Object
-