Class EcmsModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.EcmsModel
-
public class EcmsModel extends java.lang.ObjectExempt certificate
-
-
Constructor Summary
Constructors Constructor Description EcmsModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAddress1()Getter for address1 Address line 1java.lang.StringgetAddress2()Getter for address2 Address line 2java.lang.StringgetAddress3()Getter for address3 Address line 3java.lang.StringgetAvaCertId()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.IntegergetBusinessTypeId()Getter for businessTypeId Business type the customer belongs to.java.lang.StringgetBusinessTypeOtherDescription()Getter for businessTypeOtherDescription Other description for this business typejava.lang.StringgetCity()Getter for city Cityjava.lang.IntegergetCompanyId()Getter for companyId Company IDjava.lang.StringgetCountry()Getter for country Name or ISO 3166 code identifying the country.java.lang.StringgetCountryIssued()Getter for countryIssued Name or ISO 3166 code identifying the country that issued this ECMS certificate.java.util.DategetCreatedDate()Getter for createdDate Date when this exempt certificate was createdjava.lang.IntegergetCreatedUserId()Getter for createdUserId User that creates the certificatejava.lang.StringgetCustomerCode()Getter for customerCode Customer codejava.lang.StringgetCustomerName()Getter for customerName Customer namejava.util.ArrayList<EcmsDetailModel>getDetails()Getter for details Exempt Cert detailsjava.lang.StringgetDocumentRefNo()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.DategetEffectiveDate()Getter for effectiveDate Effective date for this exempt certificatejava.lang.IntegergetExemptCertId()Getter for exemptCertId The calc_id associated with a certificate in CertCapture.ExemptCertReviewStatusIdgetExemptCertReviewStatusId()Getter for exemptCertReviewStatusId Review status for this exempt certificateExemptCertStatusIdgetExemptCertStatusId()Getter for exemptCertStatusId Status for this exempt certificateExemptCertTypeIdgetExemptCertTypeId()Getter for exemptCertTypeId The type of exemption certificate.java.lang.StringgetExemptReasonId()Getter for exemptReasonId Exempt reason associated with the certificate, coded by CustomerUsageType.java.lang.StringgetExemptReasonOtherDescription()Getter for exemptReasonOtherDescription Other description for exempt reason i.e.java.util.DategetExpiryDate()Getter for expiryDate When this exempt certificate will expirejava.util.DategetLastTransactionDate()Getter for lastTransactionDate Date when last transaction with this exempt certificate happenedjava.util.DategetModifiedDate()Getter for modifiedDate Date when this exempt certificate was modifiedjava.lang.IntegergetModifiedUserId()Getter for modifiedUserId Who modified this exempt certificatejava.lang.StringgetPostalCode()Getter for postalCode Postal code / zip codejava.lang.StringgetRegion()Getter for region Name or ISO 3166 code identifying the region within the country.java.lang.StringgetRegionsApplicable()Getter for regionsApplicable A list of applicable regions for this exempt certificate.voidsetAddress1(java.lang.String value)Setter for address1 Address line 1voidsetAddress2(java.lang.String value)Setter for address2 Address line 2voidsetAddress3(java.lang.String value)Setter for address3 Address line 3voidsetAvaCertId(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.voidsetBusinessTypeId(java.lang.Integer value)Setter for businessTypeId Business type the customer belongs to.voidsetBusinessTypeOtherDescription(java.lang.String value)Setter for businessTypeOtherDescription Other description for this business typevoidsetCity(java.lang.String value)Setter for city CityvoidsetCompanyId(java.lang.Integer value)Setter for companyId Company IDvoidsetCountry(java.lang.String value)Setter for country Name or ISO 3166 code identifying the country.voidsetCountryIssued(java.lang.String value)Setter for countryIssued Name or ISO 3166 code identifying the country that issued this ECMS certificate.voidsetCreatedDate(java.util.Date value)Setter for createdDate Date when this exempt certificate was createdvoidsetCreatedUserId(java.lang.Integer value)Setter for createdUserId User that creates the certificatevoidsetCustomerCode(java.lang.String value)Setter for customerCode Customer codevoidsetCustomerName(java.lang.String value)Setter for customerName Customer namevoidsetDetails(java.util.ArrayList<EcmsDetailModel> value)Setter for details Exempt Cert detailsvoidsetDocumentRefNo(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.voidsetEffectiveDate(java.util.Date value)Setter for effectiveDate Effective date for this exempt certificatevoidsetExemptCertId(java.lang.Integer value)Setter for exemptCertId The calc_id associated with a certificate in CertCapture.voidsetExemptCertReviewStatusId(ExemptCertReviewStatusId value)Setter for exemptCertReviewStatusId Review status for this exempt certificatevoidsetExemptCertStatusId(ExemptCertStatusId value)Setter for exemptCertStatusId Status for this exempt certificatevoidsetExemptCertTypeId(ExemptCertTypeId value)Setter for exemptCertTypeId The type of exemption certificate.voidsetExemptReasonId(java.lang.String value)Setter for exemptReasonId Exempt reason associated with the certificate, coded by CustomerUsageType.voidsetExemptReasonOtherDescription(java.lang.String value)Setter for exemptReasonOtherDescription Other description for exempt reason i.e.voidsetExpiryDate(java.util.Date value)Setter for expiryDate When this exempt certificate will expirevoidsetLastTransactionDate(java.util.Date value)Setter for lastTransactionDate Date when last transaction with this exempt certificate happenedvoidsetModifiedDate(java.util.Date value)Setter for modifiedDate Date when this exempt certificate was modifiedvoidsetModifiedUserId(java.lang.Integer value)Setter for modifiedUserId Who modified this exempt certificatevoidsetPostalCode(java.lang.String value)Setter for postalCode Postal code / zip codevoidsetRegion(java.lang.String value)Setter for region Name or ISO 3166 code identifying the region within the country.voidsetRegionsApplicable(java.lang.String value)Setter for regionsApplicable A list of applicable regions for this exempt certificate.java.lang.StringtoString()Returns a JSON string representation of EcmsModel
-
-
-
Method Detail
-
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
public ExemptCertTypeId getExemptCertTypeId()
Getter for exemptCertTypeId The type of exemption certificate. Permitted values are: Blanket and Single.
-
setExemptCertTypeId
public void setExemptCertTypeId(ExemptCertTypeId value)
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
public ExemptCertStatusId getExemptCertStatusId()
Getter for exemptCertStatusId Status for this exempt certificate
-
setExemptCertStatusId
public void setExemptCertStatusId(ExemptCertStatusId value)
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
public ExemptCertReviewStatusId getExemptCertReviewStatusId()
Getter for exemptCertReviewStatusId Review status for this exempt certificate
-
setExemptCertReviewStatusId
public void setExemptCertReviewStatusId(ExemptCertReviewStatusId value)
Setter for exemptCertReviewStatusId Review status for this exempt certificate
-
getDetails
public java.util.ArrayList<EcmsDetailModel> getDetails()
Getter for details Exempt Cert details
-
setDetails
public void setDetails(java.util.ArrayList<EcmsDetailModel> value)
Setter for details Exempt Cert details
-
toString
public java.lang.String toString()
Returns a JSON string representation of EcmsModel- Overrides:
toStringin classjava.lang.Object
-
-