Order
Order
- Full name:
\Onslip360\API\Order
- Parent class:
\Onslip360\Onslip360Object
Properties
location
public int $location
name
public string $name
state
public \Onslip360\API\Order\State $state
authCode
public string|null $authCode
clientReference
public string|null $clientReference
created
public string|null $created
customers
public array|null $customers
deleted
public string|null $deleted
description
public string|null $description
endDate
public string|null $endDate
id
public int|null $id
items
public array|null $items
labels
public array|null $labels
orderReference
public string|null $orderReference
owner
public int|null $owner
payments
public array|null $payments
resources
public array|null $resources
schedules
public array|null $schedules
startDate
public string|null $startDate
tags
public array|null $tags
type
public \Onslip360\API\Order\Type|null $type
updated
public string|null $updated
updatedBy
public int|null $updatedBy
updatedFrom
public int|null $updatedFrom
users
public array|null $users
Methods
__construct
public __construct(int $location, string $name, \Onslip360\API\Order\State $state, string|null $authCode = null, string|null $clientReference = null, string|null $created = null, int[]|null $customers = null, string|null $deleted = null, string|null $description = null, string|null $endDate = null, int|null $id = null, \Onslip360\API\Item[]|null $items = null, int[]|null $labels = null, string|null $orderReference = null, int|null $owner = null, \Onslip360\API\Payment[]|null $payments = null, int[]|null $resources = null, string[]|null $schedules = null, string|null $startDate = null, string[]|null $tags = null, \Onslip360\API\Order\Type|null $type = null, string|null $updated = null, int|null $updatedBy = null, int|null $updatedFrom = null, int[]|null $users = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$location | int | |
$name | string | |
$state | \Onslip360\API\Order\State | |
$authCode | string|null | |
$clientReference | string|null | |
$created | string|null | |
$customers | int[]|null | |
$deleted | string|null | |
$description | string|null | |
$endDate | string|null | |
$id | int|null | |
$items | \Onslip360\API\Item[]|null | |
$labels | int[]|null | |
$orderReference | string|null | |
$owner | int|null | |
$payments | \Onslip360\API\Payment[]|null | |
$resources | int[]|null | |
$schedules | string[]|null | |
$startDate | string|null | |
$tags | string[]|null | |
$type | \Onslip360\API\Order\Type|null | |
$updated | string|null | |
$updatedBy | int|null | |
$updatedFrom | int|null | |
$users | int[]|null |
Inherited methods
getExtended
public getExtended(string $name): string|null|\Onslip360\Nil
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string |
setExtended
public setExtended(string $name, string|null|\Onslip360\Nil $value): static
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string | |
$value | string|null|\Onslip360\Nil |
fromJson
public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string|array|\JsonSerializable|\stdClass |
fromJsonArray
public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string[]|array[]|\JsonSerializable[]|\stdClass[] |
jsonSerialize
public jsonSerialize(): array|object
Automatically generated on 2024-11-05