Quittio 0.3 API

LineGroup
in package
uses Immutable

Read onlyYes
FinalYes

Group of invoice lines with an optional subtotal. Presentation only.

Table of Contents

Properties

$id  : string
$showSubtotal  : bool
$title  : string

Methods

__construct()  : mixed
with()  : static
Returns a copy with the given properties replaced.

Properties

$showSubtotal

public bool $showSubtotal = true

Methods

__construct()

public __construct(string $id, string $title[, bool $showSubtotal = true ]) : mixed
Parameters
$id : string
$title : string
$showSubtotal : bool = true

with()

Returns a copy with the given properties replaced.

public with(array<string, mixed> $changes) : static
Parameters
$changes : array<string, mixed>
Return values
static
On this page

Search results