Class: GOBL::Tax::ScenarioSet
- Defined in:
- lib/generated/gobl/tax/scenario_set.rb
Overview
ScenarioSet is a collection of tax scenarios for a given schema that can be used to determine special codes or notes that need to be included in the final document.
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL ScenarioSet structure
'https://gobl.org/draft-0/tax/regime#/$defs/ScenarioSet'
Instance Attribute Summary collapse
-
#list ⇒ Array<Scenario>
readonly
List of scenarios for the schema.
-
#schema ⇒ String
readonly
Partial or complete schema URL for the document type.
Method Summary
Methods inherited from Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#list ⇒ Array<Scenario> (readonly)
List of scenarios for the schema
24 |
# File 'lib/generated/gobl/tax/scenario_set.rb', line 24 property :list, [Scenario] |
#schema ⇒ String (readonly)
Partial or complete schema URL for the document type
18 |
# File 'lib/generated/gobl/tax/scenario_set.rb', line 18 property :schema, String |