Skip to main content

ReportAction


ReportAction

Properties

formats

public array $formats

template

public \Onslip360\API\ReportAction\Template $template

creditSales

public \Onslip360\API\CreditSalesReportActionParams|null $creditSales

from

public string|null $from

fromExpression

public string|null $fromExpression

locale

public string|null $locale

sales

public \Onslip360\API\SalesReportActionParams|null $sales

shifts

public \Onslip360\API\ShiftsReportActionParams|null $shifts

stockBalances

public \Onslip360\API\StockBalancesReportActionParams|null $stockBalances

to

public string|null $to

toExpression

public string|null $toExpression

vouchers

public \Onslip360\API\VouchersReportActionParams|null $vouchers

zReport

public \Onslip360\API\ZReportActionParams|null $zReport

Methods

__construct

public __construct(string[] $formats, \Onslip360\API\ReportAction\Template $template, \Onslip360\API\CreditSalesReportActionParams|null $creditSales = null, string|null $from = null, string|null $fromExpression = null, string|null $locale = null, \Onslip360\API\SalesReportActionParams|null $sales = null, \Onslip360\API\ShiftsReportActionParams|null $shifts = null, \Onslip360\API\StockBalancesReportActionParams|null $stockBalances = null, string|null $to = null, string|null $toExpression = null, \Onslip360\API\VouchersReportActionParams|null $vouchers = null, \Onslip360\API\ZReportActionParams|null $zReport = null): mixed

Parameters:

ParameterTypeDescription
$formatsstring[]
$template\Onslip360\API\ReportAction\Template
$creditSales\Onslip360\API\CreditSalesReportActionParams|null
$fromstring|null
$fromExpressionstring|null
$localestring|null
$sales\Onslip360\API\SalesReportActionParams|null
$shifts\Onslip360\API\ShiftsReportActionParams|null
$stockBalances\Onslip360\API\StockBalancesReportActionParams|null
$tostring|null
$toExpressionstring|null
$vouchers\Onslip360\API\VouchersReportActionParams|null
$zReport\Onslip360\API\ZReportActionParams|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