Partial_ExternalPaymentVoucherTransaction
Partial_ExternalPaymentVoucherTransaction
- Full name:
\Onslip360\API\Partial_ExternalPaymentVoucherTransaction - Parent class:
\Onslip360\Onslip360Object
Properties
accountingCurrency
public string|null $accountingCurrency
amount
public float|null $amount
cashback
public float|null $cashback
customer
public int|null|\Onslip360\Nil $customer
exchangeRate
public float|null|\Onslip360\Nil $exchangeRate
gratuity
public float|null $gratuity
interactive
public bool|null $interactive
order
public int|null|\Onslip360\Nil $order
paymentReference
public string|null|\Onslip360\Nil $paymentReference
reason
public \Onslip360\API\ExternalPaymentVoucherTransaction\Reason|null $reason
requestId
public string|null $requestId
tab
public int|null|\Onslip360\Nil $tab
transactionCurrency
public string|null $transactionCurrency
transactionReference
public string|null|\Onslip360\Nil $transactionReference
vatAmount
public float|null $vatAmount
Methods
__construct
public __construct(string|null $accountingCurrency = null, float|null $amount = null, float|null $cashback = null, int|null|\Onslip360\Nil $customer = null, float|null|\Onslip360\Nil $exchangeRate = null, float|null $gratuity = null, bool|null $interactive = null, int|null|\Onslip360\Nil $order = null, string|null|\Onslip360\Nil $paymentReference = null, \Onslip360\API\ExternalPaymentVoucherTransaction\Reason|null $reason = null, string|null $requestId = null, int|null|\Onslip360\Nil $tab = null, string|null $transactionCurrency = null, string|null|\Onslip360\Nil $transactionReference = null, float|null $vatAmount = null): mixed
Parameters:
| Parameter | Type | Description |
|---|---|---|
$accountingCurrency | string|null | |
$amount | float|null | |
$cashback | float|null | |
$customer | int|null|\Onslip360\Nil | |
$exchangeRate | float|null|\Onslip360\Nil | |
$gratuity | float|null | |
$interactive | bool|null | |
$order | int|null|\Onslip360\Nil | |
$paymentReference | string|null|\Onslip360\Nil | |
$reason | \Onslip360\API\ExternalPaymentVoucherTransaction\Reason|null | |
$requestId | string|null | |
$tab | int|null|\Onslip360\Nil | |
$transactionCurrency | string|null | |
$transactionReference | string|null|\Onslip360\Nil | |
$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