Skip to main content

Report


Report

Properties

cashDrawerOpenings

public int $cashDrawerOpenings

discounts

public \Onslip360\API\Summary $discounts

goods

public \Onslip360\API\Summary $goods

grandTotalAmount

public \Onslip360\API\Summary $grandTotalAmount

grandTotalReturns

public \Onslip360\API\Summary $grandTotalReturns

grandTotalSales

public \Onslip360\API\Summary $grandTotalSales

id

public string $id

losses

public \Onslip360\API\Summary $losses

receiptCopies

public \Onslip360\API\Summary $receiptCopies

returnReceipts

public \Onslip360\API\Summary $returnReceipts

salesReceipts

public \Onslip360\API\Summary $salesReceipts

services

public \Onslip360\API\Summary $services

totalSalesAmount

public float $totalSalesAmount

trainingReceipts

public \Onslip360\API\Summary $trainingReceipts

type

public \Onslip360\API\Report\Type $type

cashDeposits

public \Onslip360\API\Summary|null $cashDeposits

cashWithdrawals

public \Onslip360\API\Summary|null $cashWithdrawals

creditReturns

public \Onslip360\API\Summary|null $creditReturns

creditSales

public \Onslip360\API\Summary|null $creditSales

endDate

public string|null $endDate

gratuitySummaries

public array|null $gratuitySummaries

incomingCashAmount

public float|null $incomingCashAmount

incomingPettyCash

public array|null $incomingPettyCash

liabilities

public \Onslip360\API\Summary|null $liabilities

openTabs

public \Onslip360\API\Summary|null $openTabs

outgoingCashAmount

public float|null $outgoingCashAmount

outgoingPettyCash

public array|null $outgoingPettyCash

paymentBatchSummaries

public array|null $paymentBatchSummaries

paymentSaleSummaries

public array|null $paymentSaleSummaries

payments

public array|null $payments

pettyCashDeposits

public array|null $pettyCashDeposits

pettyCashMismatch

public array|null $pettyCashMismatch

pettyCashWithdrawals

public array|null $pettyCashWithdrawals

productGroupSummaries

public array|null $productGroupSummaries

startDate

public string|null $startDate

totalAmount

public float|null $totalAmount

totalChangeAmount

public float|null $totalChangeAmount

totalSalesVatAmount

public float|null $totalSalesVatAmount

totalVatAmount

public float|null $totalVatAmount

vatSummaries

public array|null $vatSummaries

Methods

__construct

public __construct(int $cashDrawerOpenings, \Onslip360\API\Summary $discounts, \Onslip360\API\Summary $goods, \Onslip360\API\Summary $grandTotalAmount, \Onslip360\API\Summary $grandTotalReturns, \Onslip360\API\Summary $grandTotalSales, string $id, \Onslip360\API\Summary $losses, \Onslip360\API\Summary $receiptCopies, \Onslip360\API\Summary $returnReceipts, \Onslip360\API\Summary $salesReceipts, \Onslip360\API\Summary $services, float $totalSalesAmount, \Onslip360\API\Summary $trainingReceipts, \Onslip360\API\Report\Type $type, \Onslip360\API\Summary|null $cashDeposits = null, \Onslip360\API\Summary|null $cashWithdrawals = null, \Onslip360\API\Summary|null $creditReturns = null, \Onslip360\API\Summary|null $creditSales = null, string|null $endDate = null, \Onslip360\API\GratuitySummary[]|null $gratuitySummaries = null, float|null $incomingCashAmount = null, \Onslip360\API\Payment[]|null $incomingPettyCash = null, \Onslip360\API\Summary|null $liabilities = null, \Onslip360\API\Summary|null $openTabs = null, float|null $outgoingCashAmount = null, \Onslip360\API\Payment[]|null $outgoingPettyCash = null, \Onslip360\API\PaymentBatchSummary[]|null $paymentBatchSummaries = null, \Onslip360\API\PaymentSaleSummary[]|null $paymentSaleSummaries = null, \Onslip360\API\Payment[]|null $payments = null, \Onslip360\API\PaymentSummary[]|null $pettyCashDeposits = null, \Onslip360\API\Payment[]|null $pettyCashMismatch = null, \Onslip360\API\PaymentSummary[]|null $pettyCashWithdrawals = null, \Onslip360\API\ProductGroupSummary[]|null $productGroupSummaries = null, string|null $startDate = null, float|null $totalAmount = null, float|null $totalChangeAmount = null, float|null $totalSalesVatAmount = null, float|null $totalVatAmount = null, \Onslip360\API\VATSummary[]|null $vatSummaries = null): mixed

Parameters:

ParameterTypeDescription
$cashDrawerOpeningsint
$discounts\Onslip360\API\Summary
$goods\Onslip360\API\Summary
$grandTotalAmount\Onslip360\API\Summary
$grandTotalReturns\Onslip360\API\Summary
$grandTotalSales\Onslip360\API\Summary
$idstring
$losses\Onslip360\API\Summary
$receiptCopies\Onslip360\API\Summary
$returnReceipts\Onslip360\API\Summary
$salesReceipts\Onslip360\API\Summary
$services\Onslip360\API\Summary
$totalSalesAmountfloat
$trainingReceipts\Onslip360\API\Summary
$type\Onslip360\API\Report\Type
$cashDeposits\Onslip360\API\Summary|null
$cashWithdrawals\Onslip360\API\Summary|null
$creditReturns\Onslip360\API\Summary|null
$creditSales\Onslip360\API\Summary|null
$endDatestring|null
$gratuitySummaries\Onslip360\API\GratuitySummary[]|null
$incomingCashAmountfloat|null
$incomingPettyCash\Onslip360\API\Payment[]|null
$liabilities\Onslip360\API\Summary|null
$openTabs\Onslip360\API\Summary|null
$outgoingCashAmountfloat|null
$outgoingPettyCash\Onslip360\API\Payment[]|null
$paymentBatchSummaries\Onslip360\API\PaymentBatchSummary[]|null
$paymentSaleSummaries\Onslip360\API\PaymentSaleSummary[]|null
$payments\Onslip360\API\Payment[]|null
$pettyCashDeposits\Onslip360\API\PaymentSummary[]|null
$pettyCashMismatch\Onslip360\API\Payment[]|null
$pettyCashWithdrawals\Onslip360\API\PaymentSummary[]|null
$productGroupSummaries\Onslip360\API\ProductGroupSummary[]|null
$startDatestring|null
$totalAmountfloat|null
$totalChangeAmountfloat|null
$totalSalesVatAmountfloat|null
$totalVatAmountfloat|null
$vatSummaries\Onslip360\API\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