Package com.xero.models.accounting
Class Attachment
java.lang.Object
com.xero.models.accounting.Attachment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachmentID(UUID attachmentID) Unique ID for the filecontentLength(Integer contentLength) Length of the file contentbooleanName of the fileUnique ID for the fileLength of the file contentName of the fileInclude the file with the online invoiceType of filegetUrl()URL to the file on xero.cominthashCode()includeOnline(Boolean includeOnline) Include the file with the online invoiceType of filevoidsetAttachmentID(UUID attachmentID) Unique ID for the filevoidsetContentLength(Integer contentLength) Length of the file contentvoidsetFileName(String fileName) Name of the filevoidsetIncludeOnline(Boolean includeOnline) Include the file with the online invoicevoidsetMimeType(String mimeType) Type of filevoidURL to the file on xero.comtoString()URL to the file on xero.com
-
Constructor Details
-
Attachment
public Attachment()
-
-
Method Details
-
attachmentID
Unique ID for the file- Parameters:
attachmentID- UUID- Returns:
- Attachment
-
getAttachmentID
-
setAttachmentID
Unique ID for the file- Parameters:
attachmentID- UUID
-
fileName
Name of the file- Parameters:
fileName- String- Returns:
- Attachment
-
getFileName
-
setFileName
-
url
URL to the file on xero.com- Parameters:
url- String- Returns:
- Attachment
-
getUrl
-
setUrl
-
mimeType
Type of file- Parameters:
mimeType- String- Returns:
- Attachment
-
getMimeType
-
setMimeType
-
contentLength
Length of the file content- Parameters:
contentLength- Integer- Returns:
- Attachment
-
getContentLength
-
setContentLength
Length of the file content- Parameters:
contentLength- Integer
-
includeOnline
Include the file with the online invoice- Parameters:
includeOnline- Boolean- Returns:
- Attachment
-
getIncludeOnline
-
setIncludeOnline
Include the file with the online invoice- Parameters:
includeOnline- Boolean
-
equals
-
hashCode
-
toString
-