Class EmailAttachment

java.lang.Object
com.onenetwork.platform.integ.notify.EmailAttachment

public class EmailAttachment
extends java.lang.Object
Describes an Attachment which can be added to an EmailNotification.
  • Constructor Summary

    Constructors 
    Constructor Description
    EmailAttachment()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getAttachFileName()
    Name of the file attached
    java.lang.String getContentType()
    The MIME content type of the attachment
    byte[] getData()
    Payload of the attachment
    void setAttachFileName​(java.lang.String attachFileName)
    Name of the file attached
    void setContentType​(java.lang.String contentType)
    The MIME content type of the attachment
    void setData​(byte[] data)
    Payload of the attachment

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getContentType

      public java.lang.String getContentType()
      The MIME content type of the attachment
    • setContentType

      public void setContentType​(java.lang.String contentType)
      The MIME content type of the attachment
    • getAttachFileName

      public java.lang.String getAttachFileName()
      Name of the file attached
    • setAttachFileName

      public void setAttachFileName​(java.lang.String attachFileName)
      Name of the file attached
    • getData

      public byte[] getData()
      Payload of the attachment
    • setData

      public void setData​(byte[] data)
      Payload of the attachment