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
$description
public
string|null
$description
= null
$name
public
string
$name
$quantity
public
BigDecimal|null
$quantity
= null
$sellerId
public
string|null
$sellerId
= null
$unit
public
UnitCode|RawCode|null
$unit
= null
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
with()
Returns a copy with the given properties replaced.
public
with(array<string, mixed> $changes) : static
Parameters
- $changes : array<string, mixed>