Class: GOBL::Org::Inbox

Inherits:
GOBL::Object show all
Defined in:
lib/generated/gobl/org/inbox.rb

Overview

Inbox is used to store data about a connection with a service that is responsible for potentially receiving copies of GOBL envelopes or other document formats defined locally.

Constant Summary collapse

SCHEMA_ID =

The Schema ID of the GOBL Inbox structure

'https://gobl.org/draft-0/org/inbox'

Instance Attribute Summary collapse

Method Summary

Methods inherited from GOBL::Object

new

Methods inherited from Struct

#as_json, from_data, from_json!, #to_json

Instance Attribute Details

#codeString (readonly)

Actual Code or ID that identifies the Inbox.

Returns:

  • (String)


40
# File 'lib/generated/gobl/org/inbox.rb', line 40

property :code, String

#keyGOBL::CBC::Key (readonly)

Type of inbox being defined.

Returns:



24
# File 'lib/generated/gobl/org/inbox.rb', line 24

property :key, GOBL::CBC::Key

#nameString (readonly)

Human name for the inbox.

Returns:

  • (String)


35
# File 'lib/generated/gobl/org/inbox.rb', line 35

property :name, String

#roleGOBL::CBC::Key (readonly)

Role assigned to this inbox that may be relevant for the consumer.

Returns:



30
# File 'lib/generated/gobl/org/inbox.rb', line 30

property :role, GOBL::CBC::Key

#uuidGOBL::UUID::UUID (readonly)

Unique ID. Useful if inbox is stored in a database.

Returns:



19
# File 'lib/generated/gobl/org/inbox.rb', line 19

property :uuid, GOBL::UUID::UUID