Quittio next API

IncludedProduct
in package
uses Immutable

Read onlyYes
FinalYes

Component of a set or bundle (profile EXTENDED).

Table of Contents

Properties

$description  : string|null
$name  : string
$quantity  : BigDecimal|null
$sellerId  : string|null
$unit  : UnitCode|RawCode|null

Methods

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

Properties

Methods

__construct()

public __construct(string $name[, BigDecimal|null $quantity = null ][, UnitCode|RawCode|null $unit = null ][, string|null $description = null ][, string|null $sellerId = null ]) : mixed
Parameters
$name : string
$quantity : BigDecimal|null = null
$unit : UnitCode|RawCode|null = null
$description : string|null = null
$sellerId : string|null = null

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