Order
extends DomainValue
in package
FinalYes
Immutable base for Inttegro domain values.
Table of Contents
Properties
- $canceledAt : string|null
- $checkoutSettings : OrderCheckoutSettings|null
- $completedAt : string|null
- $createdFrom : OrderCreatedFrom|null
- $customData : array<string, string>|null
- $customer : OrderCustomer
- $expiresAt : string|null
- $id : string
- $initiatedAt : string
- $invoice : OrderInvoice|null
- $invoiceSettings : InvoiceSettings|null
- $lineItemGroup : OrderLineItemGroup|null
- $number : string|null
- $paidAt : string|null
- $payment : Payment|null
- $paymentDueAt : string|null
- $payoutSettings : array<string, mixed>|null
- $receiptNumber : string|null
- $reference : string|null
- $refunds : array<int, Refund>|null
- $sealedAt : string|null
- $shipping : array<string, mixed>|null
- $status : string
Methods
- __construct() : mixed
- __get() : mixed
- __isset() : bool
- fromArray() : static
- jsonSerialize() : mixed
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
- toArray() : array<string, mixed>
Properties
$canceledAt read-only
public
string|null
$canceledAt
$checkoutSettings read-only
public
OrderCheckoutSettings|null
$checkoutSettings
$completedAt read-only
public
string|null
$completedAt
$createdFrom read-only
public
OrderCreatedFrom|null
$createdFrom
$customData read-only
public
array<string, string>|null
$customData
$customer read-only
public
OrderCustomer
$customer
$expiresAt read-only
public
string|null
$expiresAt
$id read-only
public
string
$id
$initiatedAt read-only
public
string
$initiatedAt
$invoice read-only
public
OrderInvoice|null
$invoice
$invoiceSettings read-only
public
InvoiceSettings|null
$invoiceSettings
$lineItemGroup read-only
public
OrderLineItemGroup|null
$lineItemGroup
$number read-only
public
string|null
$number
$paidAt read-only
public
string|null
$paidAt
$payment read-only
public
Payment|null
$payment
$paymentDueAt read-only
public
string|null
$paymentDueAt
$payoutSettings read-only
public
array<string, mixed>|null
$payoutSettings
$receiptNumber read-only
public
string|null
$receiptNumber
$reference read-only
public
string|null
$reference
$refunds read-only
public
array<int, Refund>|null
$refunds
$sealedAt read-only
public
string|null
$sealedAt
$shipping read-only
public
array<string, mixed>|null
$shipping
$status read-only
public
string
$status
Methods
__construct()
public
__construct(array<string, mixed> $data) : mixed
Parameters
- $data : array<string, mixed>
__get()
public
__get(string $name) : mixed
Parameters
- $name : string
__isset()
public
__isset(string $name) : bool
Parameters
- $name : string
Return values
boolfromArray()
public
static fromArray(array<string, mixed> $data) : static
Parameters
- $data : array<string, mixed>
Return values
staticjsonSerialize()
public
jsonSerialize() : mixed
offsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
booloffsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
offsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed
toArray()
public
toArray() : array<string, mixed>