freshbooks-php-sdk

TaskList extends AccountingList

Results of tasks list call containing list of tasks and pagination data.

Tags
link
https://www.freshbooks.com/api/tasks

Table of Contents

Constants

RESPONSE_FIELD  : mixed = 'tasks'

Properties

$page  : int
$pages  : int
$perPage  : int
$tasks  : array<string|int, mixed>
$total  : int

Methods

__construct()  : mixed
pages()  : mixed
constructList()  : array<string|int, mixed>

Constants

RESPONSE_FIELD

public mixed RESPONSE_FIELD = 'tasks'

Properties

$tasks

public array<string|int, mixed> $tasks

Methods

__construct()

public __construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
$data : array<string|int, mixed> = []

constructList()

protected constructList(array<string|int, mixed> $data, string $responseClass) : array<string|int, mixed>
Parameters
$data : array<string|int, mixed>
$responseClass : string
Return values
array<string|int, mixed>
On this page

Search results