Skip to main content

Stored_Order


Stored_Order

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:

ParameterTypeDescription
$createdstring
$idint
$locationint
$namestring
$state\Onslip360\API\Order\State
$updatedstring
$authCodestring|null
$clientReferencestring|null
$customersint[]|null
$deletedstring|null
$descriptionstring|null
$endDatestring|null
$items\Onslip360\API\Item[]|null
$labelsint[]|null
$orderReferencestring|null
$ownerint|null
$payments\Onslip360\API\Payment[]|null
$resourcesint[]|null
$schedulesstring[]|null
$startDatestring|null
$tagsstring[]|null
$type\Onslip360\API\Order\Type|null
$updatedByint|null
$updatedFromint|null
$usersint[]|null

Inherited methods

getExtended

public getExtended(string $name): string|null|\Onslip360\Nil

Parameters:

ParameterTypeDescription
$namestring

setExtended

public setExtended(string $name, string|null|\Onslip360\Nil $value): static

Parameters:

ParameterTypeDescription
$namestring
$valuestring|null|\Onslip360\Nil

fromJson

public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring|array|\JsonSerializable|\stdClass

fromJsonArray

public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring[]|array[]|\JsonSerializable[]|\stdClass[]

jsonSerialize

public jsonSerialize(): array|object


Automatically generated on 2024-11-05