Class: GOBL::Document
- Extended by:
- Extensions::DocumentHelper::ClassMethods
- Includes:
- Extensions::DocumentHelper
- Defined in:
- lib/generated/gobl/document.rb
Overview
Contains the document payload to be included inside an Envelope.
The document must contain a ‘$schema` property that identifies the data’s structure otherwise it will be rejected.
Instance Attribute Summary
Attributes inherited from Map
Method Summary
Methods included from Extensions::DocumentHelper::ClassMethods
Methods included from Extensions::DocumentHelper
Methods inherited from Map
#[], #as_json, #each, #each_key, #empty?, #initialize, #length, #values
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Constructor Details
This class inherits a constructor from GOBL::Map