ItemAttribute
in package
uses
Immutable
Read onlyYes
FinalYes
Item attribute (BG-32), e.g. colour, size, vehicle identification number.
Table of Contents
Properties
Methods
- __construct() : mixed
- with() : static
- Returns a copy with the given properties replaced.
Properties
$name
public
string
$name
Attributes
- #[Bt]
- 'BT-160'
- #[Cardinality]
- '1'
- #[Cii]
- 'ram:ApplicableProductCharacteristic/ram:Description'
- #[Ubl]
- 'cac:AdditionalItemProperty/cbc:Name'
$value
public
string
$value
Attributes
- #[Bt]
- 'BT-161'
- #[Cardinality]
- '1'
- #[Cii]
- 'ram:ApplicableProductCharacteristic/ram:Value'
- #[Ubl]
- 'cac:AdditionalItemProperty/cbc:Value'
Methods
__construct()
public
__construct(string $name, string $value) : mixed
Parameters
- $name : string
- $value : string
with()
Returns a copy with the given properties replaced.
public
with(array<string, mixed> $changes) : static
Parameters
- $changes : array<string, mixed>