Skip to main content

EntertainmentBill


EntertainmentBill

Properties

change

public float $change

id

public string $id

items

public array $items

originalReceiptId

public string $originalReceiptId

payments

public array $payments

rounding

public float $rounding

totalAmount

public float $totalAmount

totalVatAmount

public float $totalVatAmount

type

public \Onslip360\API\Receipt\Type $type

vatSummaries

public array $vatSummaries

customer

public \Onslip360\API\Customer|null $customer

order

public int|null $order

ourReference

public string|null $ourReference

reference

public string|null $reference

tab

public int|null $tab

totalSalesAmount

public float|null $totalSalesAmount

totalSalesVatAmount

public float|null $totalSalesVatAmount

Methods

__construct

public __construct(float $change, string $id, \Onslip360\API\Item[] $items, string $originalReceiptId, \Onslip360\API\Payment[] $payments, float $rounding, float $totalAmount, float $totalVatAmount, \Onslip360\API\Receipt\Type $type, \Onslip360\API\VATSummary[] $vatSummaries, \Onslip360\API\Customer|null $customer = null, int|null $order = null, string|null $ourReference = null, string|null $reference = null, int|null $tab = null, float|null $totalSalesAmount = null, float|null $totalSalesVatAmount = null): mixed

Parameters:

ParameterTypeDescription
$changefloat
$idstring
$items\Onslip360\API\Item[]
$originalReceiptIdstring
$payments\Onslip360\API\Payment[]
$roundingfloat
$totalAmountfloat
$totalVatAmountfloat
$type\Onslip360\API\Receipt\Type
$vatSummaries\Onslip360\API\VATSummary[]
$customer\Onslip360\API\Customer|null
$orderint|null
$ourReferencestring|null
$referencestring|null
$tabint|null
$totalSalesAmountfloat|null
$totalSalesVatAmountfloat|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