Package com.xero.models.accounting
Class Attachment
java.lang.Object
com.xero.models.accounting.Attachment
public class Attachment extends Object
Attachment
-
Constructor Summary
Constructors Constructor Description Attachment() -
Method Summary
Modifier and Type Method Description AttachmentattachmentID(UUID attachmentID)AttachmentcontentLength(Integer contentLength)booleanequals(Object o)AttachmentfileName(String fileName)UUIDgetAttachmentID()Unique ID for the fileIntegergetContentLength()Length of the file contentStringgetFileName()Name of the fileBooleangetIncludeOnline()Include the file with the online invoiceStringgetMimeType()Type of fileStringgetUrl()URL to the file on xero.cominthashCode()AttachmentincludeOnline(Boolean includeOnline)AttachmentmimeType(String mimeType)voidsetAttachmentID(UUID attachmentID)voidsetContentLength(Integer contentLength)voidsetFileName(String fileName)voidsetIncludeOnline(Boolean includeOnline)voidsetMimeType(String mimeType)voidsetUrl(String url)StringtoString()Attachmenturl(String url)
-
Constructor Details
-
Attachment
public Attachment()
-
-
Method Details
-
attachmentID
-
getAttachmentID
Unique ID for the file- Returns:
- attachmentID
-
setAttachmentID
-
fileName
-
getFileName
Name of the file- Returns:
- fileName
-
setFileName
-
url
-
getUrl
URL to the file on xero.com- Returns:
- url
-
setUrl
-
mimeType
-
getMimeType
Type of file- Returns:
- mimeType
-
setMimeType
-
contentLength
-
getContentLength
Length of the file content- Returns:
- contentLength
-
setContentLength
-
includeOnline
-
getIncludeOnline
Include the file with the online invoice- Returns:
- includeOnline
-
setIncludeOnline
-
equals
-
hashCode
public int hashCode() -
toString
-