Skip to content

API reference / Quittio \ Core \ Documents

Package

final readonly class in quittio/core

Quittio\Core\Documents\Package · Source

Package of a delivery note.

Properties#

PropertyTypeDescription
$dimensions readonly?string
$id readonlystring
$trackingNumber readonly?string
$type readonly?string
$weightKg readonly?Brick\Math\BigDecimal

Methods#

MethodDescription
->__construct()

__construct()#

public function __construct(
    string $id,
    ?string $type = null,
    ?BigDecimal $weightKg = null,
    ?string $dimensions = null,
    ?string $trackingNumber = null,
)
ParameterTypeDescription
$idstring
$type?string = null
$weightKg?Brick\Math\BigDecimal = null
$dimensions?string = null
$trackingNumber?string = null

The open core packages are MIT licensed. The legal wording of the country packs must be confirmed by a tax adviser.