Refund
extends DomainValue
in package
FinalYes
Immutable base for Inttegro domain values.
Table of Contents
Properties
- $canceledAt : string|null
- $createdAt : string
- $customData : array<string, string>|null
- $failedAt : string|null
- $id : string
- $lineItems : array<int, RefundLineItem>
- $orderId : string
- $processingAt : string|null
- $reason : GenericValue
- $reasonDetails : string|null
- $reference : string|null
- $status : string
- $succeededAt : string|null
- $total : Amount
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
$createdAt read-only
public
string
$createdAt
$customData read-only
public
array<string, string>|null
$customData
$failedAt read-only
public
string|null
$failedAt
$id read-only
public
string
$id
$lineItems read-only
public
array<int, RefundLineItem>
$lineItems
$orderId read-only
public
string
$orderId
$processingAt read-only
public
string|null
$processingAt
$reason read-only
public
GenericValue
$reason
$reasonDetails read-only
public
string|null
$reasonDetails
$reference read-only
public
string|null
$reference
$status read-only
public
string
$status
$succeededAt read-only
public
string|null
$succeededAt
$total read-only
public
Amount
$total
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>