BalanceTransaction
extends DomainValue
in package
FinalYes
Immutable base for Inttegro domain values.
Table of Contents
Properties
- $amount : BalanceTransactionAmount
- $availableAt : string|null
- $claimedAt : string|null
- $createdAt : string
- $id : string
- $orderId : string
- $paidAt : string|null
- $paymentId : string|null
- $payoutId : string|null
- $refundId : string|null
- $type : 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
$amount read-only
public
BalanceTransactionAmount
$amount
$availableAt read-only
public
string|null
$availableAt
$claimedAt read-only
public
string|null
$claimedAt
$createdAt read-only
public
string
$createdAt
$id read-only
public
string
$id
$orderId read-only
public
string
$orderId
$paidAt read-only
public
string|null
$paidAt
$paymentId read-only
public
string|null
$paymentId
$payoutId read-only
public
string|null
$payoutId
$refundId read-only
public
string|null
$refundId
$type read-only
public
string
$type
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>