Class: GOBL::Org::Party

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

Overview

Party represents a person or business entity.

Constant Summary collapse

SCHEMA_ID =

The Schema ID of the GOBL Party structure

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

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

#addressesArray<GOBL::Org::Address> (readonly)

Regular post addresses for where information should be sent if needed.



55
# File 'lib/generated/gobl/org/party.rb', line 55

property :addresses, [GOBL::Org::Address]

#aliasString (readonly)

Alternate short name.



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

property :alias, String

#emailsArray<GOBL::Org::Email> (readonly)

Electronic mail addresses



60
# File 'lib/generated/gobl/org/party.rb', line 60

property :emails, [GOBL::Org::Email]

#identitiesArray<GOBL::Org::Identity> (readonly)

Set of codes used to identify the party in other systems.



29
# File 'lib/generated/gobl/org/party.rb', line 29

property :identities, [GOBL::Org::Identity]

#inboxesArray<GOBL::Org::Inbox> (readonly)

Digital inboxes used for forwarding electronic versions of documents



50
# File 'lib/generated/gobl/org/party.rb', line 50

property :inboxes, [GOBL::Org::Inbox]

#logosArray<GOBL::Org::Image> (readonly)

Images that can be used to identify the party visually.



80
# File 'lib/generated/gobl/org/party.rb', line 80

property :logos, [GOBL::Org::Image]

#metaGOBL::CBC::Meta (readonly)

Any additional semi-structured information that does not fit into the rest of the party.



85
# File 'lib/generated/gobl/org/party.rb', line 85

property :meta, GOBL::CBC::Meta

#nameString (readonly)

Legal name or representation of the organization.



34
# File 'lib/generated/gobl/org/party.rb', line 34

property :name, String

#peopleArray<GOBL::Org::Person> (readonly)

Details of physical people who represent the party.



45
# File 'lib/generated/gobl/org/party.rb', line 45

property :people, [GOBL::Org::Person]

#registrationGOBL::Org::Registration (readonly)

Additional registration details about the company that may need to be included in a document.



75
# File 'lib/generated/gobl/org/party.rb', line 75

property :registration, GOBL::Org::Registration

#tax_idGOBL::Tax::Identity (readonly)

The entity’s legal ID code used for tax purposes. They may have other numbers, but we’re only interested in those valid for tax purposes.



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

property :tax_id, GOBL::Tax::Identity

#telephonesArray<GOBL::Org::Telephone> (readonly)

Regular telephone numbers



70
# File 'lib/generated/gobl/org/party.rb', line 70

property :telephones, [GOBL::Org::Telephone]

#uuidGOBL::UUID::UUID (readonly)

Unique identity code



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

property :uuid, GOBL::UUID::UUID

#websitesArray<Website> (readonly)

Public websites that provide further information about the party.



65
# File 'lib/generated/gobl/org/party.rb', line 65

property :websites, [Website]