Class EmailQRCode


  • public class EmailQRCode
    extends QRCode
    This class is a subclass of QRCode and is used to generate an email QR-code element
    • Constructor Detail

      • EmailQRCode

        public EmailQRCode​(java.lang.String name,
                           java.lang.String receiver,
                           java.lang.String cc,
                           java.lang.String bcc,
                           java.lang.String subject,
                           java.lang.String body)
        This object represents a mail QR-code. Use null if you don't want to specify some options. Styling options can be set with the setter functions of the upper class.
        Parameters:
        name - Name of this code for the tag.
        receiver - Mail address of the receiver.
        cc - Extra receivers (cc).
        bcc - Extra blind receivers (bcc).
        subject - Subject of the e-mail.
        body - Body of the e-mail.
    • Method Detail

      • getCc

        public java.lang.String getCc()
        Returns:
        Extra receiver (cc).
      • setCc

        public void setCc​(java.lang.String cc)
        Parameters:
        cc - Extra receiver (cc).
      • getBcc

        public java.lang.String getBcc()
        Returns:
        Blind receiver (bcc).
      • setBcc

        public void setBcc​(java.lang.String bcc)
        Parameters:
        bcc - Blind receiver (bcc).
      • getSubject

        public java.lang.String getSubject()
        Returns:
        Subject of the e-mail.
      • setSubject

        public void setSubject​(java.lang.String subject)
        Parameters:
        subject - Subject of the e-mail.
      • getBody

        public java.lang.String getBody()
        Returns:
        Body of the e-mail.
      • setBody

        public void setBody​(java.lang.String body)
        Parameters:
        body - Body of the e-mail.
      • getJSON

        public com.google.gson.JsonObject getJSON()
        Overrides:
        getJSON in class QRCode
        Returns:
        JSONObject with the tags for this element for the Cloud Office Print server.