Partial_PaymentVoucherMetadata
Partial_PaymentVoucherMetadata
- Full name:
\Onslip360\API\Partial_PaymentVoucherMetadata
- Parent class:
\Onslip360\Onslip360Object
Properties
balance
public float|null|\Onslip360\Nil $balance
expires
public string|null|\Onslip360\Nil $expires
identifiers
public array|null|\Onslip360\Nil $identifiers
transactionDate
public string|null $transactionDate
transactionId
public string|null $transactionId
voucher
public int|null $voucher
Methods
__construct
public __construct(float|null|\Onslip360\Nil $balance = null, string|null|\Onslip360\Nil $expires = null, string[]|null|\Onslip360\Nil $identifiers = null, string|null $transactionDate = null, string|null $transactionId = null, int|null $voucher = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$balance | float|null|\Onslip360\Nil | |
$expires | string|null|\Onslip360\Nil | |
$identifiers | string[]|null|\Onslip360\Nil | |
$transactionDate | string|null | |
$transactionId | string|null | |
$voucher | int|null |
Inherited methods
getExtended
public getExtended(string $name): string|null|\Onslip360\Nil
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string |
setExtended
public setExtended(string $name, string|null|\Onslip360\Nil $value): static
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string | |
$value | string|null|\Onslip360\Nil |
fromJson
public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string|array|\JsonSerializable|\stdClass |
fromJsonArray
public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string[]|array[]|\JsonSerializable[]|\stdClass[] |
jsonSerialize
public jsonSerialize(): array|object
Automatically generated on 2024-11-05