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.



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

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

#aliasString (readonly)

Alternate short name.



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

property :alias, String

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

Electronic mail addresses



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

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

#extGOBL::Tax::Extensions (readonly)

Extension code map for any additional regime specific codes that may be required.



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

property :ext, GOBL::Tax::Extensions

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

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



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

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

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

Digital inboxes used for forwarding electronic versions of documents



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

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

#labelString (readonly)

Label can be used to provide a custom label for the party in a given context in a single language, for example “Supplier”, “Host”, or similar.



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

property :label, String

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

Images that can be used to identify the party visually.



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

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

#metaGOBL::CBC::Meta (readonly)

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



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

property :meta, GOBL::CBC::Meta

#nameString (readonly)

Legal name or representation of the organization.



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

property :name, String

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

Details of physical people who represent the party.



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

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

#registrationGOBL::Org::Registration (readonly)

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



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

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.



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

property :tax_id, GOBL::Tax::Identity

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

Regular telephone numbers



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

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

#uuidString (readonly)

Universally Unique Identifier.



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

property :uuid, String

#websitesArray<GOBL::Org::Website> (readonly)

Public websites that provide further information about the party.



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

property :websites, [GOBL::Org::Website]