Skip to main content

Partial_Receipt


Partial_Receipt

Properties

change

public float|null $change

customer

public \Onslip360\API\Partial_Customer|null|\Onslip360\Nil $customer

id

public string|null $id

items

public array|null $items

order

public int|null|\Onslip360\Nil $order

ourReference

public string|null|\Onslip360\Nil $ourReference

payments

public array|null $payments

reference

public string|null|\Onslip360\Nil $reference

rounding

public float|null $rounding

tab

public int|null|\Onslip360\Nil $tab

totalAmount

public float|null $totalAmount

totalSalesAmount

public float|null|\Onslip360\Nil $totalSalesAmount

totalSalesVatAmount

public float|null|\Onslip360\Nil $totalSalesVatAmount

totalVatAmount

public float|null $totalVatAmount

type

public \Onslip360\API\Receipt\Type|null $type

vatSummaries

public array|null $vatSummaries

Methods

__construct

public __construct(float|null $change = null, \Onslip360\API\Partial_Customer|null|\Onslip360\Nil $customer = null, string|null $id = null, \Onslip360\API\Partial_Item[]|null $items = null, int|null|\Onslip360\Nil $order = null, string|null|\Onslip360\Nil $ourReference = null, \Onslip360\API\Partial_Payment[]|null $payments = null, string|null|\Onslip360\Nil $reference = null, float|null $rounding = null, int|null|\Onslip360\Nil $tab = null, float|null $totalAmount = null, float|null|\Onslip360\Nil $totalSalesAmount = null, float|null|\Onslip360\Nil $totalSalesVatAmount = null, float|null $totalVatAmount = null, \Onslip360\API\Receipt\Type|null $type = null, \Onslip360\API\Partial_VATSummary[]|null $vatSummaries = null): mixed

Parameters:

ParameterTypeDescription
$changefloat|null
$customer\Onslip360\API\Partial_Customer|null|\Onslip360\Nil
$idstring|null
$items\Onslip360\API\Partial_Item[]|null
$orderint|null|\Onslip360\Nil
$ourReferencestring|null|\Onslip360\Nil
$payments\Onslip360\API\Partial_Payment[]|null
$referencestring|null|\Onslip360\Nil
$roundingfloat|null
$tabint|null|\Onslip360\Nil
$totalAmountfloat|null
$totalSalesAmountfloat|null|\Onslip360\Nil
$totalSalesVatAmountfloat|null|\Onslip360\Nil
$totalVatAmountfloat|null
$type\Onslip360\API\Receipt\Type|null
$vatSummaries\Onslip360\API\Partial_VATSummary[]|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