Skip to content

API reference / Quittio \ Core \ Data \ Lines

ItemAttribute

final readonly class in quittio/core · uses Immutable

Quittio\Core\Data\Lines\ItemAttribute · Source

Item attribute (BG-32), e.g. colour, size, vehicle identification number.

Properties#

PropertyTypeDescription
$name readonlystring
$value readonlystring

Methods#

MethodDescription
->__construct()
->with()Returns a copy with the given properties replaced.

__construct()#

public function __construct(string $name, string $value)
ParameterTypeDescription
$namestring
$valuestring

with()#

public function with(array<string, mixed> $changes): static

Returns a copy with the given properties replaced.

ParameterTypeDescription
$changesarray<string, mixed>
Returns
static

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