Partial_ExternalPaymentVoucherMetadata
Partial_ExternalPaymentVoucherMetadata
- Full name:
\Onslip360\API\Partial_ExternalPaymentVoucherMetadata - Parent class:
\Onslip360\Onslip360Object
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:
| Parameter | Type | Description |
|---|---|---|
$amount | float|null | |
$balance | float|null|\Onslip360\Nil | |
$cashback | float|null | |
$currencyCode | string|null | |
$currencySymbol | string|null|\Onslip360\Nil | |
$customer | int|null|\Onslip360\Nil | |
$exchangeRate | float|null | |
$gratuity | float|null | |
$reason | \Onslip360\API\ExternalPaymentVoucherTransaction\Reason|null | |
$requestId | string|null | |
$status | \Onslip360\API\ExternalPaymentVoucherMetadata\Status|null | |
$statusCode | string|null|\Onslip360\Nil | |
$statusMessage | string|null|\Onslip360\Nil | |
$transactionDate | string|null | |
$transactionId | string|null | |
$vatAmount | float|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 2026-12-02