Class: GOBL::Tax::ScenarioNote
- Defined in:
- lib/generated/gobl/tax/scenario_note.rb
Overview
ScenarioNote represents the structure of the note that needs to be added to the document.
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL ScenarioNote structure
'https://gobl.org/draft-0/tax/regime-def#/$defs/ScenarioNote'
Instance Attribute Summary collapse
-
#code ⇒ GOBL::CBC::Code
readonly
Code used for additional data that may be required to identify the note.
-
#ext ⇒ GOBL::Tax::Extensions
readonly
Extension data.
-
#key ⇒ GOBL::CBC::Key
readonly
Key specifying subject of the text.
-
#src ⇒ GOBL::CBC::Key
readonly
Source of this note, especially useful when auto-generated.
-
#text ⇒ String
readonly
The contents of the note.
Method Summary
Methods inherited from Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#code ⇒ GOBL::CBC::Code (readonly)
Code used for additional data that may be required to identify the note.
23 |
# File 'lib/generated/gobl/tax/scenario_note.rb', line 23 property :code, GOBL::CBC::Code |
#ext ⇒ GOBL::Tax::Extensions (readonly)
Extension data
39 |
# File 'lib/generated/gobl/tax/scenario_note.rb', line 39 property :ext, GOBL::Tax::Extensions |
#key ⇒ GOBL::CBC::Key (readonly)
Key specifying subject of the text
18 |
# File 'lib/generated/gobl/tax/scenario_note.rb', line 18 property :key, GOBL::CBC::Key |
#src ⇒ GOBL::CBC::Key (readonly)
Source of this note, especially useful when auto-generated.
28 |
# File 'lib/generated/gobl/tax/scenario_note.rb', line 28 property :src, GOBL::CBC::Key |
#text ⇒ String (readonly)
The contents of the note
33 |
# File 'lib/generated/gobl/tax/scenario_note.rb', line 33 property :text, String |