ReportAction
ReportAction
- Full name:
\Onslip360\API\ReportAction
- Parent class:
\Onslip360\Onslip360Object
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:
Parameter | Type | Description |
---|---|---|
$formats | string[] | |
$template | \Onslip360\API\ReportAction\Template | |
$creditSales | \Onslip360\API\CreditSalesReportActionParams|null | |
$from | string|null | |
$fromExpression | string|null | |
$locale | string|null | |
$sales | \Onslip360\API\SalesReportActionParams|null | |
$shifts | \Onslip360\API\ShiftsReportActionParams|null | |
$stockBalances | \Onslip360\API\StockBalancesReportActionParams|null | |
$to | string|null | |
$toExpression | string|null | |
$vouchers | \Onslip360\API\VouchersReportActionParams|null | |
$zReport | \Onslip360\API\ZReportActionParams|null |
Inherited methods
getExtended
public getExtended(string $name): string|null|\Onslip360\Nil
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string |
setExtended
public setExtended(string $name, string|null|\Onslip360\Nil $value): static
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string | |
$value | string|null|\Onslip360\Nil |
fromJson
public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string|array|\JsonSerializable|\stdClass |
fromJsonArray
public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string[]|array[]|\JsonSerializable[]|\stdClass[] |
jsonSerialize
public jsonSerialize(): array|object
Automatically generated on 2024-11-05