Class: GOBL::Tax::ScenarioSet

Inherits:
Object show all
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

Method Summary

Methods inherited from Object

new

Methods inherited from Struct

#as_json, from_data, from_json!, #to_json

Instance Attribute Details

#listArray<Scenario> (readonly)

List of scenarios for the schema

Returns:



25
# File 'lib/generated/gobl/tax/scenario_set.rb', line 25

property :list, [Scenario]

#schemaString (readonly)

Partial or complete schema URL for the document type

Returns:

  • (String)


19
# File 'lib/generated/gobl/tax/scenario_set.rb', line 19

property :schema, String