Classification
in package
uses
Immutable
Read onlyYes
FinalYes
Item classification identifier (BT-158) with scheme (BT-158-1) and scheme version (BT-158-2), e.g. eCl@ss, UNSPSC, CPV or customs tariff numbers.
Table of Contents
Properties
- $code : string
- $listId : ItemClassificationScheme|RawCode
- $listVersion : string|null
Methods
- __construct() : mixed
- with() : static
- Returns a copy with the given properties replaced.
Properties
$code
public
string
$code
$listId
public
ItemClassificationScheme|RawCode
$listId
$listVersion
public
string|null
$listVersion
= null
Methods
__construct()
public
__construct(string $code, ItemClassificationScheme|RawCode $listId[, string|null $listVersion = null ]) : mixed
Parameters
- $code : string
- $listId : ItemClassificationScheme|RawCode
- $listVersion : string|null = null
with()
Returns a copy with the given properties replaced.
public
with(array<string, mixed> $changes) : static
Parameters
- $changes : array<string, mixed>