Class EcmsDetailModel


  • public class EcmsDetailModel
    extends java.lang.Object
    Represents an ECMS record, used internally by AvaTax to track information about exemptions.
    • Constructor Summary

      Constructors 
      Constructor Description
      EcmsDetailModel()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCountry()
      Getter for country Name or ISO 3166 code identifying the country.
      java.util.Date getEndDate()
      Getter for endDate End date of this exempt certificate
      java.lang.Integer getExemptCertDetailId()
      Getter for exemptCertDetailId Unique, system-assigned identifier of a ExemptCertDetail record.
      java.lang.Integer getExemptCertId()
      Getter for exemptCertId The calc_id associated with a certificate in CertCapture.
      java.lang.String getIdNo()
      Getter for idNo The customer Tax Id Number (tax_number) associated with a certificate.
      java.lang.String getIdType()
      Getter for idType The type of idNo (tax_number) associated with a certificate.
      java.lang.Integer getIsTaxCodeListExclusionList()
      Getter for isTaxCodeListExclusionList Is the tax code list an exculsion list?
      java.lang.String getRegion()
      Getter for region Name or ISO 3166 code identifying the region within the country.
      java.lang.String getStateFips()
      Getter for stateFips State FIPS
      java.util.ArrayList<EcmsDetailTaxCodeModel> getTaxCodes()
      Getter for taxCodes optional: list of tax code associated with this exempt certificate detail
      void setCountry​(java.lang.String value)
      Setter for country Name or ISO 3166 code identifying the country.
      void setEndDate​(java.util.Date value)
      Setter for endDate End date of this exempt certificate
      void setExemptCertDetailId​(java.lang.Integer value)
      Setter for exemptCertDetailId Unique, system-assigned identifier of a ExemptCertDetail record.
      void setExemptCertId​(java.lang.Integer value)
      Setter for exemptCertId The calc_id associated with a certificate in CertCapture.
      void setIdNo​(java.lang.String value)
      Setter for idNo The customer Tax Id Number (tax_number) associated with a certificate.
      void setIdType​(java.lang.String value)
      Setter for idType The type of idNo (tax_number) associated with a certificate.
      void setIsTaxCodeListExclusionList​(java.lang.Integer value)
      Setter for isTaxCodeListExclusionList Is the tax code list an exculsion list?
      void setRegion​(java.lang.String value)
      Setter for region Name or ISO 3166 code identifying the region within the country.
      void setStateFips​(java.lang.String value)
      Setter for stateFips State FIPS
      void setTaxCodes​(java.util.ArrayList<EcmsDetailTaxCodeModel> value)
      Setter for taxCodes optional: list of tax code associated with this exempt certificate detail
      java.lang.String toString()
      Returns a JSON string representation of EcmsDetailModel
      • Methods inherited from class java.lang.Object

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

      • EcmsDetailModel

        public EcmsDetailModel()
    • Method Detail

      • getExemptCertDetailId

        public java.lang.Integer getExemptCertDetailId()
        Getter for exemptCertDetailId Unique, system-assigned identifier of a ExemptCertDetail record.
      • setExemptCertDetailId

        public void setExemptCertDetailId​(java.lang.Integer value)
        Setter for exemptCertDetailId Unique, system-assigned identifier of a ExemptCertDetail record.
      • 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.
      • getStateFips

        public java.lang.String getStateFips()
        Getter for stateFips State FIPS
      • setStateFips

        public void setStateFips​(java.lang.String value)
        Setter for stateFips State FIPS
      • 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`.
      • getIdNo

        public java.lang.String getIdNo()
        Getter for idNo The customer Tax Id Number (tax_number) associated with a certificate. This is same as exemptionNo in Transactions.
      • setIdNo

        public void setIdNo​(java.lang.String value)
        Setter for idNo The customer Tax Id Number (tax_number) associated with a certificate. This is same as exemptionNo in Transactions.
      • 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`.
      • getEndDate

        public java.util.Date getEndDate()
        Getter for endDate End date of this exempt certificate
      • setEndDate

        public void setEndDate​(java.util.Date value)
        Setter for endDate End date of this exempt certificate
      • getIdType

        public java.lang.String getIdType()
        Getter for idType The type of idNo (tax_number) associated with a certificate. Example: Driver's Licence Number, Permit Number.
      • setIdType

        public void setIdType​(java.lang.String value)
        Setter for idType The type of idNo (tax_number) associated with a certificate. Example: Driver's Licence Number, Permit Number.
      • getIsTaxCodeListExclusionList

        public java.lang.Integer getIsTaxCodeListExclusionList()
        Getter for isTaxCodeListExclusionList Is the tax code list an exculsion list?
      • setIsTaxCodeListExclusionList

        public void setIsTaxCodeListExclusionList​(java.lang.Integer value)
        Setter for isTaxCodeListExclusionList Is the tax code list an exculsion list?
      • getTaxCodes

        public java.util.ArrayList<EcmsDetailTaxCodeModel> getTaxCodes()
        Getter for taxCodes optional: list of tax code associated with this exempt certificate detail
      • setTaxCodes

        public void setTaxCodes​(java.util.ArrayList<EcmsDetailTaxCodeModel> value)
        Setter for taxCodes optional: list of tax code associated with this exempt certificate detail
      • toString

        public java.lang.String toString()
        Returns a JSON string representation of EcmsDetailModel
        Overrides:
        toString in class java.lang.Object