Stored_Order
Stored_Order
- Full name:
\Onslip360\API\Stored_Order
- Parent class:
\Onslip360\Onslip360Object
Properties
created
public string $created
id
public int $id
location
public int $location
name
public string $name
state
public \Onslip360\API\Order\State $state
updated
public string $updated
authCode
public string|null $authCode
clientReference
public string|null $clientReference
customers
public array|null $customers
deleted
public string|null $deleted
description
public string|null $description
endDate
public string|null $endDate
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
updatedBy
public int|null $updatedBy
updatedFrom
public int|null $updatedFrom
users
public array|null $users
Methods
__construct
public __construct(string $created, int $id, int $location, string $name, \Onslip360\API\Order\State $state, string $updated, string|null $authCode = null, string|null $clientReference = null, int[]|null $customers = null, string|null $deleted = null, string|null $description = null, string|null $endDate = 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, int|null $updatedBy = null, int|null $updatedFrom = null, int[]|null $users = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$created | string | |
$id | int | |
$location | int | |
$name | string | |
$state | \Onslip360\API\Order\State | |
$updated | string | |
$authCode | string|null | |
$clientReference | string|null | |
$customers | int[]|null | |
$deleted | string|null | |
$description | string|null | |
$endDate | string|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 | |
$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