InvoiceAttachment
in package
implements
DataModel
Attached files and images to include with an invoice.
Note: This data is not in the default response and will only be present with the use of a corresponding "includes" filter.
Tags
Table of Contents
Interfaces
Properties
- $attachmentId : int
- $expenseId : int
- $id : int
- $jwt : string
- $mediaType : string
Methods
- __construct() : mixed
- getContent() : array<string|int, mixed>
- Get the data as an array to POST or PUT to FreshBooks, removing any read-only fields.
Properties
$attachmentId
public
int
$attachmentId
Duplicate of id
$expenseId
public
int
$expenseId
Id of the expense this attachment is associated with, if applicable.
$id
public
int
$id
The unique identifier of this expense attachment within this business.
$jwt
public
string
$jwt
JWT link to the attachment.
$mediaType
public
string
$mediaType
Type of the attachment.
Methods
__construct()
public
__construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
- $data : array<string|int, mixed> = []
getContent()
Get the data as an array to POST or PUT to FreshBooks, removing any read-only fields.
public
getContent() : array<string|int, mixed>