freshbooks-php-sdk

ExpenseAttachment extends DataTransferObject implements DataModel

Attached receipt image details for an expense.

Note: This data is not in the default response and will only be present with the use of a corresponding "includes" filter.

Tags
link
https://www.freshbooks.com/api/expense-attachments

Table of Contents

Interfaces

DataModel

Constants

RESPONSE_FIELD  = 'expense'

Properties

$attachmentId  : int
$id  : int
$jwt  : string
$mediaType  : string

Methods

getContent()  : array<string|int, mixed>
Get the data as an array to POST or PUT to FreshBooks, removing any read-only fields.

Constants

Properties

$id

public int $id

The unique identifier of this expense attachment within this business.

Methods

getContent()

Get the data as an array to POST or PUT to FreshBooks, removing any read-only fields.

public getContent() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results