Skip to main content

Partial_CouponVoucherMetadata


Partial_CouponVoucherMetadata

Properties

balance

public float|null|\Onslip360\Nil $balance

couponValue

public float|null|\Onslip360\Nil $couponValue

expires

public string|null|\Onslip360\Nil $expires

identifiers

public array|null|\Onslip360\Nil $identifiers

quantity

public float|null|\Onslip360\Nil $quantity

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, float|null|\Onslip360\Nil $couponValue = null, string|null|\Onslip360\Nil $expires = null, string[]|null|\Onslip360\Nil $identifiers = null, float|null|\Onslip360\Nil $quantity = null, string|null $transactionDate = null, string|null $transactionId = null, int|null $voucher = null): mixed

Parameters:

ParameterTypeDescription
$balancefloat|null|\Onslip360\Nil
$couponValuefloat|null|\Onslip360\Nil
$expiresstring|null|\Onslip360\Nil
$identifiersstring[]|null|\Onslip360\Nil
$quantityfloat|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