Class CertificateModel
java.lang.Object
net.avalara.avatax.rest.client.models.CertificateModel
A certificate is a document stored in either AvaTax Exemptions or CertCapture. The certificate document
can contain information about a customer's eligibility for exemption from sales or use taxes based on
criteria you specify when you store the certificate. To view or manage your certificates directly, please
log onto the administrative website for the product you purchased.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for attributes A list of certificate attributes that apply to this certificate.Getter for businessNumberType Description of business for the certificate.Getter for companyId The unique ID number of the AvaTax company that recorded this certificate.Getter for createdDate The date/time when this record was created.Getter for customers A list of customers to which this certificate applies.Getter for documentExists This value is true if there exists scanned PDF copy of this certificate or the PDF version of the form that the customer filled via the CertCapture wizard on S3 bucket.Getter for ecmsId The unique ID number of current AvaTax Exemption Certificate that refers this certificate.Getter for ecmsStatus The status of current AvaTax Exemption Certificate that refers to this certificate.Getter for exemptionNumber Indicates the tax number passed in for the certificate.Getter for exemptionReasonGetter for exemptPercentage If this certificate provides exemption from transactional taxes, what percentage of the transaction is considered exempt? For a fully exempt certificate, this percentage should be 100.Getter for expirationDate Expiration date when this certificate will no longer be valid.Getter for exposureZoneGetter for filename File name for the image of this certificate.getId()
Getter for id Unique ID number of this certificate.Getter for isSingleCertificate This value is true if this certificate is a single (or standalone) certificate.Getter for modifiedDate The date/time when this record was last modified.Getter for pageCount Number of pages contained within this certificate.getPages()
Getter for pages This field is available for input only.getPdf()
Getter for pdf This field is available for input only.Getter for poNumbers A list of purchase order numbers that are valid for use with this certificate.Getter for signedDate The date when this certificate was signed.Getter for status The status of the certificateGetter for taxNumberType The tax number type for the certificate.getValid()
Getter for valid True if this certificate is marked as valid.Getter for validatedExemptionReasonGetter for verified This value is true if the certificate has gone through the certificate validation process.void
Setter for attributes A list of certificate attributes that apply to this certificate.void
setBusinessNumberType
(String value) Setter for businessNumberType Description of business for the certificate.void
setCompanyId
(Integer value) Setter for companyId The unique ID number of the AvaTax company that recorded this certificate.void
setCreatedDate
(Date value) Setter for createdDate The date/time when this record was created.void
setCustomers
(ArrayList<CustomerModel> value) Setter for customers A list of customers to which this certificate applies.void
setDocumentExists
(Boolean value) Setter for documentExists This value is true if there exists scanned PDF copy of this certificate or the PDF version of the form that the customer filled via the CertCapture wizard on S3 bucket.void
Setter for ecmsId The unique ID number of current AvaTax Exemption Certificate that refers this certificate.void
setEcmsStatus
(String value) Setter for ecmsStatus The status of current AvaTax Exemption Certificate that refers to this certificate.void
setExemptionNumber
(String value) Setter for exemptionNumber Indicates the tax number passed in for the certificate.void
Setter for exemptionReasonvoid
setExemptPercentage
(BigDecimal value) Setter for exemptPercentage If this certificate provides exemption from transactional taxes, what percentage of the transaction is considered exempt? For a fully exempt certificate, this percentage should be 100.void
setExpirationDate
(Date value) Setter for expirationDate Expiration date when this certificate will no longer be valid.void
setExposureZone
(ExposureZoneModel value) Setter for exposureZonevoid
setFilename
(String value) Setter for filename File name for the image of this certificate.void
Setter for id Unique ID number of this certificate.void
setIsSingleCertificate
(Boolean value) Setter for isSingleCertificate This value is true if this certificate is a single (or standalone) certificate.void
setModifiedDate
(Date value) Setter for modifiedDate The date/time when this record was last modified.void
setPageCount
(Integer value) Setter for pageCount Number of pages contained within this certificate.void
Setter for pages This field is available for input only.void
Setter for pdf This field is available for input only.void
setPoNumbers
(ArrayList<PoNumberModel> value) Setter for poNumbers A list of purchase order numbers that are valid for use with this certificate.void
setSignedDate
(Date value) Setter for signedDate The date when this certificate was signed.void
Setter for status The status of the certificatevoid
setTaxNumberType
(String value) Setter for taxNumberType The tax number type for the certificate.void
Setter for valid True if this certificate is marked as valid.void
Setter for validatedExemptionReasonvoid
setVerified
(Boolean value) Setter for verified This value is true if the certificate has gone through the certificate validation process.toString()
Returns a JSON string representation of CertificateModel
-
Constructor Details
-
CertificateModel
public CertificateModel()
-
-
Method Details
-
getId
Getter for id Unique ID number of this certificate. -
setId
Setter for id Unique ID number of this certificate. -
getCompanyId
Getter for companyId The unique ID number of the AvaTax company that recorded this certificate. -
setCompanyId
Setter for companyId The unique ID number of the AvaTax company that recorded this certificate. -
getSignedDate
Getter for signedDate The date when this certificate was signed. -
setSignedDate
Setter for signedDate The date when this certificate was signed. -
getExpirationDate
Getter for expirationDate Expiration date when this certificate will no longer be valid. -
setExpirationDate
Setter for expirationDate Expiration date when this certificate will no longer be valid. -
getFilename
Getter for filename File name for the image of this certificate. When creating a certificate, if you do not upload a PDF or JPG image, you must specify the filename of the certificate as it is tracked in your repository. To create a certificate, you must provide one of the following fields: either a `filename`, a `pdf` file, or an array of JPG `pages`. The API will return an error if you omit these fields or if you attempt to put values in more than one of them. -
setFilename
Setter for filename File name for the image of this certificate. When creating a certificate, if you do not upload a PDF or JPG image, you must specify the filename of the certificate as it is tracked in your repository. To create a certificate, you must provide one of the following fields: either a `filename`, a `pdf` file, or an array of JPG `pages`. The API will return an error if you omit these fields or if you attempt to put values in more than one of them. -
getDocumentExists
Getter for documentExists This value is true if there exists scanned PDF copy of this certificate or the PDF version of the form that the customer filled via the CertCapture wizard on S3 bucket. -
setDocumentExists
Setter for documentExists This value is true if there exists scanned PDF copy of this certificate or the PDF version of the form that the customer filled via the CertCapture wizard on S3 bucket. -
getValid
Getter for valid True if this certificate is marked as valid. A valid certificate can be considered for exemption purposes. When a certificate is marked invalid, it will no longer be considered when calculating exemption for a customer. -
setValid
Setter for valid True if this certificate is marked as valid. A valid certificate can be considered for exemption purposes. When a certificate is marked invalid, it will no longer be considered when calculating exemption for a customer. -
getVerified
Getter for verified This value is true if the certificate has gone through the certificate validation process. For more information on the certificate validation process, please see the Avalara Help Center. -
setVerified
Setter for verified This value is true if the certificate has gone through the certificate validation process. For more information on the certificate validation process, please see the Avalara Help Center. -
getExemptPercentage
Getter for exemptPercentage If this certificate provides exemption from transactional taxes, what percentage of the transaction is considered exempt? For a fully exempt certificate, this percentage should be 100. -
setExemptPercentage
Setter for exemptPercentage If this certificate provides exemption from transactional taxes, what percentage of the transaction is considered exempt? For a fully exempt certificate, this percentage should be 100. -
getIsSingleCertificate
Getter for isSingleCertificate This value is true if this certificate is a single (or standalone) certificate. This value is set during the audit stage of the certificate validation process. -
setIsSingleCertificate
Setter for isSingleCertificate This value is true if this certificate is a single (or standalone) certificate. This value is set during the audit stage of the certificate validation process. -
getExemptionNumber
Getter for exemptionNumber Indicates the tax number passed in for the certificate. -
setExemptionNumber
Setter for exemptionNumber Indicates the tax number passed in for the certificate. -
getValidatedExemptionReason
Getter for validatedExemptionReason -
setValidatedExemptionReason
Setter for validatedExemptionReason -
getExemptionReason
Getter for exemptionReason -
setExemptionReason
Setter for exemptionReason -
getStatus
Getter for status The status of the certificate -
setStatus
Setter for status The status of the certificate -
getCreatedDate
Getter for createdDate The date/time when this record was created. -
setCreatedDate
Setter for createdDate The date/time when this record was created. -
getModifiedDate
Getter for modifiedDate The date/time when this record was last modified. -
setModifiedDate
Setter for modifiedDate The date/time when this record was last modified. -
getTaxNumberType
Getter for taxNumberType The tax number type for the certificate. For example, `FEIN`, `Social Security Number`, or `Employer Identification Number`. -
setTaxNumberType
Setter for taxNumberType The tax number type for the certificate. For example, `FEIN`, `Social Security Number`, or `Employer Identification Number`. -
getBusinessNumberType
Getter for businessNumberType Description of business for the certificate. For example, `Retail trade`, `Professional services`, or `Construction`. -
setBusinessNumberType
Setter for businessNumberType Description of business for the certificate. For example, `Retail trade`, `Professional services`, or `Construction`. -
getPageCount
Getter for pageCount Number of pages contained within this certificate. -
setPageCount
Setter for pageCount Number of pages contained within this certificate. -
getCustomers
Getter for customers A list of customers to which this certificate applies. You can fetch this data by specifying `$include=customers` when calling a certificate fetch API. -
setCustomers
Setter for customers A list of customers to which this certificate applies. You can fetch this data by specifying `$include=customers` when calling a certificate fetch API. -
getPoNumbers
Getter for poNumbers A list of purchase order numbers that are valid for use with this certificate. If this certificate is applicable for all purchase order numbers, this field will be empty. You can fetch this data by specifying `$include=po_numbers` when calling a certificate fetch API. -
setPoNumbers
Setter for poNumbers A list of purchase order numbers that are valid for use with this certificate. If this certificate is applicable for all purchase order numbers, this field will be empty. You can fetch this data by specifying `$include=po_numbers` when calling a certificate fetch API. -
getExposureZone
Getter for exposureZone -
setExposureZone
Setter for exposureZone -
getAttributes
Getter for attributes A list of certificate attributes that apply to this certificate. You can fetch this data by specifying `$include=attributes` when calling a certificate fetch API. -
setAttributes
Setter for attributes A list of certificate attributes that apply to this certificate. You can fetch this data by specifying `$include=attributes` when calling a certificate fetch API. -
getEcmsId
Getter for ecmsId The unique ID number of current AvaTax Exemption Certificate that refers this certificate. -
setEcmsId
Setter for ecmsId The unique ID number of current AvaTax Exemption Certificate that refers this certificate. -
getEcmsStatus
Getter for ecmsStatus The status of current AvaTax Exemption Certificate that refers to this certificate. -
setEcmsStatus
Setter for ecmsStatus The status of current AvaTax Exemption Certificate that refers to this certificate. -
getPdf
Getter for pdf This field is available for input only. To retrieve the image after creation, use the `DownloadCertificateImage` API. When creating a certificate, you may optionally provide a PDF image in Base64 URLEncoded format. PDFs are automatically parsed into individual page JPG images and can be retrieved back later as either the original PDF or the individual pages. To create a certificate, you must provide one of the following fields: either a `filename`, a `pdf` file, or an array of JPG `pages`. The API will return an error if you omit these fields or if you attempt to put values in more than one of them. -
setPdf
Setter for pdf This field is available for input only. To retrieve the image after creation, use the `DownloadCertificateImage` API. When creating a certificate, you may optionally provide a PDF image in Base64 URLEncoded format. PDFs are automatically parsed into individual page JPG images and can be retrieved back later as either the original PDF or the individual pages. To create a certificate, you must provide one of the following fields: either a `filename`, a `pdf` file, or an array of JPG `pages`. The API will return an error if you omit these fields or if you attempt to put values in more than one of them. -
getPages
Getter for pages This field is available for input only. To retrieve the image after creation, use the `DownloadCertificateImage` API. When creating a certificate, you may optionally provide a list of JPG images, one per page, in Base64 URLEncoded format. These JPG images are automatically combined into a single downloadable PDF and can be retrieved back later as either the original JPG images or the combined PDF. To create a certificate, you must provide one of the following fields: either a `filename`, a `pdf` file, or an array of JPG `pages`. The API will return an error if you omit these fields or if you attempt to put values in more than one of them. -
setPages
Setter for pages This field is available for input only. To retrieve the image after creation, use the `DownloadCertificateImage` API. When creating a certificate, you may optionally provide a list of JPG images, one per page, in Base64 URLEncoded format. These JPG images are automatically combined into a single downloadable PDF and can be retrieved back later as either the original JPG images or the combined PDF. To create a certificate, you must provide one of the following fields: either a `filename`, a `pdf` file, or an array of JPG `pages`. The API will return an error if you omit these fields or if you attempt to put values in more than one of them. -
toString
Returns a JSON string representation of CertificateModel
-