Payment
extends DomainValue
in package
FinalYes
Immutable base for Inttegro domain values.
Table of Contents
Properties
- $amount : Amount
- $balanceTransaction : BalanceTransaction|null
- $canceledAt : string|null
- $dueAt : string|null
- $executedAt : string|null
- $expiredAt : string|null
- $failedAt : string|null
- $id : string
- $initiatedAt : string
- $latestAttempt : PaymentAttempt|null
- $nextAction : PaymentNextAction|null
- $paidAt : string|null
- $paidOffline : bool|null
- $paymentMethod : PaymentMethodSnapshot|null
- $paymentMethodTypes : array<int, string>|null
- $payoutConfiguration : PaymentPayoutConfiguration|null
- $statementDescriptor : string
- $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
$amount read-only
public
Amount
$amount
$balanceTransaction read-only
public
BalanceTransaction|null
$balanceTransaction
$canceledAt read-only
public
string|null
$canceledAt
$dueAt read-only
public
string|null
$dueAt
$executedAt read-only
public
string|null
$executedAt
$expiredAt read-only
public
string|null
$expiredAt
$failedAt read-only
public
string|null
$failedAt
$id read-only
public
string
$id
$initiatedAt read-only
public
string
$initiatedAt
$latestAttempt read-only
public
PaymentAttempt|null
$latestAttempt
$nextAction read-only
public
PaymentNextAction|null
$nextAction
$paidAt read-only
public
string|null
$paidAt
$paidOffline read-only
public
bool|null
$paidOffline
$paymentMethod read-only
public
PaymentMethodSnapshot|null
$paymentMethod
$paymentMethodTypes read-only
public
array<int, string>|null
$paymentMethodTypes
$payoutConfiguration read-only
public
PaymentPayoutConfiguration|null
$payoutConfiguration
$statementDescriptor read-only
public
string
$statementDescriptor
$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>