Class EcmsModel


  • public class EcmsModel
    extends java.lang.Object
    Exempt certificate
    • Constructor Summary

      Constructors 
      Constructor Description
      EcmsModel()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAddress1()
      Getter for address1 Address line 1
      java.lang.String getAddress2()
      Getter for address2 Address line 2
      java.lang.String getAddress3()
      Getter for address3 Address line 3
      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.
      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 type
      java.lang.String getCity()
      Getter for city City
      java.lang.Integer getCompanyId()
      Getter for companyId Company ID
      java.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 created
      java.lang.Integer getCreatedUserId()
      Getter for createdUserId User that creates the certificate
      java.lang.String getCustomerCode()
      Getter for customerCode Customer code
      java.lang.String getCustomerName()
      Getter for customerName Customer name
      java.util.ArrayList<EcmsDetailModel> getDetails()
      Getter for details Exempt Cert details
      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.
      java.util.Date getEffectiveDate()
      Getter for effectiveDate Effective date for this exempt certificate
      java.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 certificate
      ExemptCertStatusId getExemptCertStatusId()
      Getter for exemptCertStatusId Status for this exempt certificate
      ExemptCertTypeId 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 expire
      java.util.Date getLastTransactionDate()
      Getter for lastTransactionDate Date when last transaction with this exempt certificate happened
      java.util.Date getModifiedDate()
      Getter for modifiedDate Date when this exempt certificate was modified
      java.lang.Integer getModifiedUserId()
      Getter for modifiedUserId Who modified this exempt certificate
      java.lang.String getPostalCode()
      Getter for postalCode Postal code / zip code
      java.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 1
      void setAddress2​(java.lang.String value)
      Setter for address2 Address line 2
      void setAddress3​(java.lang.String value)
      Setter for address3 Address line 3
      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.
      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 type
      void setCity​(java.lang.String value)
      Setter for city City
      void setCompanyId​(java.lang.Integer value)
      Setter for companyId Company ID
      void 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 created
      void setCreatedUserId​(java.lang.Integer value)
      Setter for createdUserId User that creates the certificate
      void setCustomerCode​(java.lang.String value)
      Setter for customerCode Customer code
      void setCustomerName​(java.lang.String value)
      Setter for customerName Customer name
      void setDetails​(java.util.ArrayList<EcmsDetailModel> value)
      Setter for details Exempt Cert details
      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.
      void setEffectiveDate​(java.util.Date value)
      Setter for effectiveDate Effective date for this exempt certificate
      void 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 certificate
      void setExemptCertStatusId​(ExemptCertStatusId value)
      Setter for exemptCertStatusId Status for this exempt certificate
      void 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 expire
      void setLastTransactionDate​(java.util.Date value)
      Setter for lastTransactionDate Date when last transaction with this exempt certificate happened
      void setModifiedDate​(java.util.Date value)
      Setter for modifiedDate Date when this exempt certificate was modified
      void setModifiedUserId​(java.lang.Integer value)
      Setter for modifiedUserId Who modified this exempt certificate
      void setPostalCode​(java.lang.String value)
      Setter for postalCode Postal code / zip code
      void 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • EcmsModel

        public 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:
        toString in class java.lang.Object