Class EcmsModel

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

public class EcmsModel extends Object
Exempt certificate
  • Constructor Details

    • EcmsModel

      public EcmsModel()
  • Method Details

    • getExemptCertId

      public Integer getExemptCertId()
      Getter for exemptCertId The calc_id associated with a certificate in CertCapture.
    • setExemptCertId

      public void setExemptCertId(Integer value)
      Setter for exemptCertId The calc_id associated with a certificate in CertCapture.
    • getCompanyId

      public Integer getCompanyId()
      Getter for companyId Company ID
    • setCompanyId

      public void setCompanyId(Integer value)
      Setter for companyId Company ID
    • getCustomerCode

      public String getCustomerCode()
      Getter for customerCode Customer code
    • setCustomerCode

      public void setCustomerCode(String value)
      Setter for customerCode Customer code
    • getCustomerName

      public String getCustomerName()
      Getter for customerName Customer name
    • setCustomerName

      public void setCustomerName(String value)
      Setter for customerName Customer name
    • getAddress1

      public String getAddress1()
      Getter for address1 Address line 1
    • setAddress1

      public void setAddress1(String value)
      Setter for address1 Address line 1
    • getAddress2

      public String getAddress2()
      Getter for address2 Address line 2
    • setAddress2

      public void setAddress2(String value)
      Setter for address2 Address line 2
    • getAddress3

      public String getAddress3()
      Getter for address3 Address line 3
    • setAddress3

      public void setAddress3(String value)
      Setter for address3 Address line 3
    • getCity

      public String getCity()
      Getter for city City
    • setCity

      public void setCity(String value)
      Setter for city City
    • 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 Postal code / zip code
    • setPostalCode

      public void setPostalCode(String value)
      Setter for postalCode Postal code / zip code
    • 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`.
    • 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 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(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 Integer getBusinessTypeId()
      Getter for businessTypeId Business type the customer belongs to.
    • setBusinessTypeId

      public void setBusinessTypeId(Integer value)
      Setter for businessTypeId Business type the customer belongs to.
    • getBusinessTypeOtherDescription

      public String getBusinessTypeOtherDescription()
      Getter for businessTypeOtherDescription Other description for this business type
    • setBusinessTypeOtherDescription

      public void setBusinessTypeOtherDescription(String value)
      Setter for businessTypeOtherDescription Other description for this business type
    • getExemptReasonId

      public String getExemptReasonId()
      Getter for exemptReasonId Exempt reason associated with the certificate, coded by CustomerUsageType. Example: A - Federal Government.
    • setExemptReasonId

      public void setExemptReasonId(String value)
      Setter for exemptReasonId Exempt reason associated with the certificate, coded by CustomerUsageType. Example: A - Federal Government.
    • getExemptReasonOtherDescription

      public String getExemptReasonOtherDescription()
      Getter for exemptReasonOtherDescription Other description for exempt reason i.e. Populated on if exemptReasonId is 'L' - Other.
    • setExemptReasonOtherDescription

      public void setExemptReasonOtherDescription(String value)
      Setter for exemptReasonOtherDescription Other description for exempt reason i.e. Populated on if exemptReasonId is 'L' - Other.
    • getEffectiveDate

      public Date getEffectiveDate()
      Getter for effectiveDate Effective date for this exempt certificate
    • setEffectiveDate

      public void setEffectiveDate(Date value)
      Setter for effectiveDate Effective date for this exempt certificate
    • getRegionsApplicable

      public 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(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 Date getCreatedDate()
      Getter for createdDate Date when this exempt certificate was created
    • setCreatedDate

      public void setCreatedDate(Date value)
      Setter for createdDate Date when this exempt certificate was created
    • getLastTransactionDate

      public Date getLastTransactionDate()
      Getter for lastTransactionDate Date when last transaction with this exempt certificate happened
    • setLastTransactionDate

      public void setLastTransactionDate(Date value)
      Setter for lastTransactionDate Date when last transaction with this exempt certificate happened
    • getExpiryDate

      public Date getExpiryDate()
      Getter for expiryDate When this exempt certificate will expire
    • setExpiryDate

      public void setExpiryDate(Date value)
      Setter for expiryDate When this exempt certificate will expire
    • getCreatedUserId

      public Integer getCreatedUserId()
      Getter for createdUserId User that creates the certificate
    • setCreatedUserId

      public void setCreatedUserId(Integer value)
      Setter for createdUserId User that creates the certificate
    • getModifiedDate

      public Date getModifiedDate()
      Getter for modifiedDate Date when this exempt certificate was modified
    • setModifiedDate

      public void setModifiedDate(Date value)
      Setter for modifiedDate Date when this exempt certificate was modified
    • getModifiedUserId

      public Integer getModifiedUserId()
      Getter for modifiedUserId Who modified this exempt certificate
    • setModifiedUserId

      public void setModifiedUserId(Integer value)
      Setter for modifiedUserId Who modified this exempt certificate
    • getCountryIssued

      public 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(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 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(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 ArrayList<EcmsDetailModel> getDetails()
      Getter for details Exempt Cert details
    • setDetails

      public void setDetails(ArrayList<EcmsDetailModel> value)
      Setter for details Exempt Cert details
    • toString

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