Skip to main content

Partial_ExternalPaymentVoucherTransaction


Partial_ExternalPaymentVoucherTransaction

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:

ParameterTypeDescription
$accountingCurrencystring|null
$amountfloat|null
$cashbackfloat|null
$customerint|null|\Onslip360\Nil
$exchangeRatefloat|null|\Onslip360\Nil
$gratuityfloat|null
$interactivebool|null
$orderint|null|\Onslip360\Nil
$paymentReferencestring|null|\Onslip360\Nil
$reason\Onslip360\API\ExternalPaymentVoucherTransaction\Reason|null
$requestIdstring|null
$tabint|null|\Onslip360\Nil
$transactionCurrencystring|null
$transactionReferencestring|null|\Onslip360\Nil
$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