Class: GOBL::Tax::CatalogueDef

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

Method Summary

Methods inherited from Object

new

Methods inherited from Struct

#as_json, from_data, from_json!, #to_json

Instance Attribute Details

#descriptionGOBL::I18n::String (readonly)

Description is a human readable description of the catalogue.

Returns:



30
# File 'lib/generated/gobl/tax/catalogue_def.rb', line 30

property :description, GOBL::I18n::String

#extensionsArray<GOBL::CBC::Definition> (readonly)

Extensions defines all the extensions offered by the catalogue.

Returns:



35
# File 'lib/generated/gobl/tax/catalogue_def.rb', line 35

property :extensions, [GOBL::CBC::Definition]

#keyGOBL::CBC::Key (readonly)

Key defines a unique identifier for the catalogue.

Returns:



18
# File 'lib/generated/gobl/tax/catalogue_def.rb', line 18

property :key, GOBL::CBC::Key

#nameGOBL::I18n::String (readonly)

Name is the name of the catalogue.

Returns:



24
# File 'lib/generated/gobl/tax/catalogue_def.rb', line 24

property :name, GOBL::I18n::String