Skip to main content

Partial_ExternalPaymentVoucherMetadata


Partial_ExternalPaymentVoucherMetadata

Properties​

amount​

public float|null $amount

balance​

public float|null|\Onslip360\Nil $balance

cashback​

public float|null $cashback

currencyCode​

public string|null $currencyCode

currencySymbol​

public string|null|\Onslip360\Nil $currencySymbol

customer​

public int|null|\Onslip360\Nil $customer

exchangeRate​

public float|null $exchangeRate

gratuity​

public float|null $gratuity

reason​

public \Onslip360\API\ExternalPaymentVoucherTransaction\Reason|null $reason

requestId​

public string|null $requestId

status​

public \Onslip360\API\ExternalPaymentVoucherMetadata\Status|null $status

statusCode​

public string|null|\Onslip360\Nil $statusCode

statusMessage​

public string|null|\Onslip360\Nil $statusMessage

transactionDate​

public string|null $transactionDate

transactionId​

public string|null $transactionId

vatAmount​

public float|null $vatAmount

Methods​

__construct​

public __construct(float|null $amount = null, float|null|\Onslip360\Nil $balance = null, float|null $cashback = null, string|null $currencyCode = null, string|null|\Onslip360\Nil $currencySymbol = null, int|null|\Onslip360\Nil $customer = null, float|null $exchangeRate = null, float|null $gratuity = null, \Onslip360\API\ExternalPaymentVoucherTransaction\Reason|null $reason = null, string|null $requestId = null, \Onslip360\API\ExternalPaymentVoucherMetadata\Status|null $status = null, string|null|\Onslip360\Nil $statusCode = null, string|null|\Onslip360\Nil $statusMessage = null, string|null $transactionDate = null, string|null $transactionId = null, float|null $vatAmount = null): mixed

Parameters:

ParameterTypeDescription
$amountfloat|null
$balancefloat|null|\Onslip360\Nil
$cashbackfloat|null
$currencyCodestring|null
$currencySymbolstring|null|\Onslip360\Nil
$customerint|null|\Onslip360\Nil
$exchangeRatefloat|null
$gratuityfloat|null
$reason\Onslip360\API\ExternalPaymentVoucherTransaction\Reason|null
$requestIdstring|null
$status\Onslip360\API\ExternalPaymentVoucherMetadata\Status|null
$statusCodestring|null|\Onslip360\Nil
$statusMessagestring|null|\Onslip360\Nil
$transactionDatestring|null
$transactionIdstring|null
$vatAmountfloat|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 2026-12-02