Class: GOBL::Tax::CatalogueDef
- Defined in:
- lib/generated/gobl/tax/catalogue_def.rb
Overview
A CatalogueDef contains a set of re-useable extensions, scenarios, and validators that can be used by addons or tax regimes.
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL CatalogueDef structure
'https://gobl.org/draft-0/tax/catalogue-def'
Instance Attribute Summary collapse
-
#description ⇒ GOBL::I18n::String
readonly
Description is a human readable description of the catalogue.
-
#extensions ⇒ Array<GOBL::CBC::Definition>
readonly
Extensions defines all the extensions offered by the catalogue.
-
#key ⇒ GOBL::CBC::Key
readonly
Key defines a unique identifier for the catalogue.
-
#name ⇒ GOBL::I18n::String
readonly
Name is the name of the catalogue.
Method Summary
Methods inherited from Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#description ⇒ GOBL::I18n::String (readonly)
Description is a human readable description of the catalogue.
30 |
# File 'lib/generated/gobl/tax/catalogue_def.rb', line 30 property :description, GOBL::I18n::String |
#extensions ⇒ Array<GOBL::CBC::Definition> (readonly)
Extensions defines all the extensions offered by the catalogue.
35 |
# File 'lib/generated/gobl/tax/catalogue_def.rb', line 35 property :extensions, [GOBL::CBC::Definition] |
#key ⇒ GOBL::CBC::Key (readonly)
Key defines a unique identifier for the catalogue.
18 |
# File 'lib/generated/gobl/tax/catalogue_def.rb', line 18 property :key, GOBL::CBC::Key |
#name ⇒ GOBL::I18n::String (readonly)
Name is the name of the catalogue.
24 |
# File 'lib/generated/gobl/tax/catalogue_def.rb', line 24 property :name, GOBL::I18n::String |