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 attachedjava.lang.String
getContentType()
The MIME content type of the attachmentbyte[]
getData()
Payload of the attachmentvoid
setAttachFileName(java.lang.String attachFileName)
Name of the file attachedvoid
setContentType(java.lang.String contentType)
The MIME content type of the attachmentvoid
setData(byte[] data)
Payload of the attachment
-
Constructor Details
-
EmailAttachment
public EmailAttachment()
-
-
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
-