Skip to main content

Partial_PaymentVoucherMetadata


Partial_PaymentVoucherMetadata

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:

ParameterTypeDescription
$balancefloat|null|\Onslip360\Nil
$expiresstring|null|\Onslip360\Nil
$identifiersstring[]|null|\Onslip360\Nil
$transactionDatestring|null
$transactionIdstring|null
$voucherint|null

Inherited methods

getExtended

public getExtended(string $name): string|null|\Onslip360\Nil

Parameters:

ParameterTypeDescription
$namestring

setExtended

public setExtended(string $name, string|null|\Onslip360\Nil $value): static

Parameters:

ParameterTypeDescription
$namestring
$valuestring|null|\Onslip360\Nil

fromJson

public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring|array|\JsonSerializable|\stdClass

fromJsonArray

public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring[]|array[]|\JsonSerializable[]|\stdClass[]

jsonSerialize

public jsonSerialize(): array|object


Automatically generated on 2024-11-05