Note
in package
uses
Immutable
Read onlyYes
FinalYes
Invoice note (BG-1).
Table of Contents
Properties
- $content : string
- $subjectCode : NoteSubjectCode|RawCode|null
Methods
- __construct() : mixed
- with() : static
- Returns a copy with the given properties replaced.
Properties
$content
public
string
$content
Attributes
- #[Bt]
- 'BT-22'
- #[Cardinality]
- '1'
- #[Cii]
- 'ram:IncludedNote/ram:Content'
- #[Level]
- ProfileLevel::BasicWl
- #[Ubl]
- 'cbc:Note'
$subjectCode
public
NoteSubjectCode|RawCode|null
$subjectCode
= null
Attributes
- #[Bt]
- 'BT-21'
- #[Cardinality]
- '0..1'
- #[Cii]
- 'ram:IncludedNote/ram:SubjectCode'
- #[Level]
- ProfileLevel::BasicWl
- #[Ubl]
- 'cbc:Note (prefix #CODE#)'
Methods
__construct()
public
__construct(string $content[, NoteSubjectCode|RawCode|null $subjectCode = null ]) : mixed
Parameters
- $content : string
- $subjectCode : NoteSubjectCode|RawCode|null = null
with()
Returns a copy with the given properties replaced.
public
with(array<string, mixed> $changes) : static
Parameters
- $changes : array<string, mixed>