Class CoverLetterModel


  • public class CoverLetterModel
    extends java.lang.Object
    The CoverLetter model represents a message sent along with an invitation to use CertExpress to upload certificates. An invitation allows customers to use CertExpress to upload their exemption certificates directly; this cover letter explains why the invitation was sent.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean getActive()
      Getter for active Is this cover letter active
      java.lang.Integer getCompanyId()
      Getter for companyId The unique ID number of the AvaTax company that received this certificate.
      java.util.Date getCreatedDate()
      Getter for createdDate The date when this record was created.
      java.lang.String getDescription()
      Getter for description A full description of the cover letter's contents and message.
      java.lang.Integer getId()
      Getter for id A unique ID number representing a cover letter sent with a CertExpress invitation.
      java.util.Date getModifiedDate()
      Getter for modifiedDate The date/time when this record was last modified.
      java.lang.Integer getPageCount()
      Getter for pageCount How many pages this cover letter encompasses
      java.lang.String getSubject()
      Getter for subject The subject message used when sending the cover letter via email.
      java.lang.String getTemplateFilename()
      Getter for templateFilename The file name of the cover letter template
      java.lang.String getTitle()
      Getter for title The title used when sending the cover letter.
      java.lang.Integer getVersion()
      Getter for version The version number of the template
      void setActive​(java.lang.Boolean value)
      Setter for active Is this cover letter active
      void setCompanyId​(java.lang.Integer value)
      Setter for companyId The unique ID number of the AvaTax company that received this certificate.
      void setCreatedDate​(java.util.Date value)
      Setter for createdDate The date when this record was created.
      void setDescription​(java.lang.String value)
      Setter for description A full description of the cover letter's contents and message.
      void setId​(java.lang.Integer value)
      Setter for id A unique ID number representing a cover letter sent with a CertExpress invitation.
      void setModifiedDate​(java.util.Date value)
      Setter for modifiedDate The date/time when this record was last modified.
      void setPageCount​(java.lang.Integer value)
      Setter for pageCount How many pages this cover letter encompasses
      void setSubject​(java.lang.String value)
      Setter for subject The subject message used when sending the cover letter via email.
      void setTemplateFilename​(java.lang.String value)
      Setter for templateFilename The file name of the cover letter template
      void setTitle​(java.lang.String value)
      Setter for title The title used when sending the cover letter.
      void setVersion​(java.lang.Integer value)
      Setter for version The version number of the template
      java.lang.String toString()
      Returns a JSON string representation of CoverLetterModel
      • Methods inherited from class java.lang.Object

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

      • CoverLetterModel

        public CoverLetterModel()
    • Method Detail

      • getId

        public java.lang.Integer getId()
        Getter for id A unique ID number representing a cover letter sent with a CertExpress invitation.
      • setId

        public void setId​(java.lang.Integer value)
        Setter for id A unique ID number representing a cover letter sent with a CertExpress invitation.
      • getCompanyId

        public java.lang.Integer getCompanyId()
        Getter for companyId The unique ID number of the AvaTax company that received this certificate.
      • setCompanyId

        public void setCompanyId​(java.lang.Integer value)
        Setter for companyId The unique ID number of the AvaTax company that received this certificate.
      • getTitle

        public java.lang.String getTitle()
        Getter for title The title used when sending the cover letter.
      • setTitle

        public void setTitle​(java.lang.String value)
        Setter for title The title used when sending the cover letter.
      • getSubject

        public java.lang.String getSubject()
        Getter for subject The subject message used when sending the cover letter via email.
      • setSubject

        public void setSubject​(java.lang.String value)
        Setter for subject The subject message used when sending the cover letter via email.
      • getDescription

        public java.lang.String getDescription()
        Getter for description A full description of the cover letter's contents and message.
      • setDescription

        public void setDescription​(java.lang.String value)
        Setter for description A full description of the cover letter's contents and message.
      • getCreatedDate

        public java.util.Date getCreatedDate()
        Getter for createdDate The date when this record was created.
      • setCreatedDate

        public void setCreatedDate​(java.util.Date value)
        Setter for createdDate The date when this record was created.
      • getModifiedDate

        public java.util.Date getModifiedDate()
        Getter for modifiedDate The date/time when this record was last modified.
      • setModifiedDate

        public void setModifiedDate​(java.util.Date value)
        Setter for modifiedDate The date/time when this record was last modified.
      • getActive

        public java.lang.Boolean getActive()
        Getter for active Is this cover letter active
      • setActive

        public void setActive​(java.lang.Boolean value)
        Setter for active Is this cover letter active
      • getPageCount

        public java.lang.Integer getPageCount()
        Getter for pageCount How many pages this cover letter encompasses
      • setPageCount

        public void setPageCount​(java.lang.Integer value)
        Setter for pageCount How many pages this cover letter encompasses
      • getTemplateFilename

        public java.lang.String getTemplateFilename()
        Getter for templateFilename The file name of the cover letter template
      • setTemplateFilename

        public void setTemplateFilename​(java.lang.String value)
        Setter for templateFilename The file name of the cover letter template
      • getVersion

        public java.lang.Integer getVersion()
        Getter for version The version number of the template
      • setVersion

        public void setVersion​(java.lang.Integer value)
        Setter for version The version number of the template
      • toString

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