Class: GOBL::Org::Party
- Inherits:
-
GOBL::Object
- Object
- Struct
- GOBL::Object
- GOBL::Org::Party
- 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
-
#addresses ⇒ Array<GOBL::Org::Address>
readonly
Regular post addresses for where information should be sent if needed.
-
#alias ⇒ String
readonly
Alternate short name.
-
#emails ⇒ Array<GOBL::Org::Email>
readonly
Electronic mail addresses.
-
#ext ⇒ GOBL::Tax::Extensions
readonly
Extension code map for any additional regime specific codes that may be required.
-
#identities ⇒ Array<GOBL::Org::Identity>
readonly
Set of codes used to identify the party in other systems.
-
#inboxes ⇒ Array<GOBL::Org::Inbox>
readonly
Digital inboxes used for forwarding electronic versions of documents.
-
#label ⇒ String
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.
-
#logos ⇒ Array<GOBL::Org::Image>
readonly
Images that can be used to identify the party visually.
-
#meta ⇒ GOBL::CBC::Meta
readonly
Any additional semi-structured information that does not fit into the rest of the party.
-
#name ⇒ String
readonly
Legal name or representation of the organization.
-
#people ⇒ Array<GOBL::Org::Person>
readonly
Details of physical people who represent the party.
-
#registration ⇒ GOBL::Org::Registration
readonly
Additional registration details about the company that may need to be included in a document.
-
#tax_id ⇒ GOBL::Tax::Identity
readonly
The entity’s legal ID code used for tax purposes.
-
#telephones ⇒ Array<GOBL::Org::Telephone>
readonly
Regular telephone numbers.
-
#uuid ⇒ String
readonly
Universally Unique Identifier.
-
#websites ⇒ Array<GOBL::Org::Website>
readonly
Public websites that provide further information about the party.
Method Summary
Methods inherited from GOBL::Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#addresses ⇒ Array<GOBL::Org::Address> (readonly)
Regular post addresses for where information should be sent if needed.
58 |
# File 'lib/generated/gobl/org/party.rb', line 58 property :addresses, [GOBL::Org::Address] |
#alias ⇒ String (readonly)
Alternate short name.
33 |
# File 'lib/generated/gobl/org/party.rb', line 33 property :alias, String |
#emails ⇒ Array<GOBL::Org::Email> (readonly)
Electronic mail addresses
63 |
# File 'lib/generated/gobl/org/party.rb', line 63 property :emails, [GOBL::Org::Email] |
#ext ⇒ GOBL::Tax::Extensions (readonly)
Extension code map for any additional regime specific codes that may be required.
88 |
# File 'lib/generated/gobl/org/party.rb', line 88 property :ext, GOBL::Tax::Extensions |
#identities ⇒ Array<GOBL::Org::Identity> (readonly)
Set of codes used to identify the party in other systems.
43 |
# File 'lib/generated/gobl/org/party.rb', line 43 property :identities, [GOBL::Org::Identity] |
#inboxes ⇒ Array<GOBL::Org::Inbox> (readonly)
Digital inboxes used for forwarding electronic versions of documents
53 |
# File 'lib/generated/gobl/org/party.rb', line 53 property :inboxes, [GOBL::Org::Inbox] |
#label ⇒ String (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.
23 |
# File 'lib/generated/gobl/org/party.rb', line 23 property :label, String |
#logos ⇒ Array<GOBL::Org::Image> (readonly)
Images that can be used to identify the party visually.
83 |
# File 'lib/generated/gobl/org/party.rb', line 83 property :logos, [GOBL::Org::Image] |
#meta ⇒ GOBL::CBC::Meta (readonly)
Any additional semi-structured information that does not fit into the rest of the party.
93 |
# File 'lib/generated/gobl/org/party.rb', line 93 property :meta, GOBL::CBC::Meta |
#name ⇒ String (readonly)
Legal name or representation of the organization.
28 |
# File 'lib/generated/gobl/org/party.rb', line 28 property :name, String |
#people ⇒ Array<GOBL::Org::Person> (readonly)
Details of physical people who represent the party.
48 |
# File 'lib/generated/gobl/org/party.rb', line 48 property :people, [GOBL::Org::Person] |
#registration ⇒ GOBL::Org::Registration (readonly)
Additional registration details about the company that may need to be included in a document.
78 |
# File 'lib/generated/gobl/org/party.rb', line 78 property :registration, GOBL::Org::Registration |
#tax_id ⇒ GOBL::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.
38 |
# File 'lib/generated/gobl/org/party.rb', line 38 property :tax_id, GOBL::Tax::Identity |
#telephones ⇒ Array<GOBL::Org::Telephone> (readonly)
Regular telephone numbers
73 |
# File 'lib/generated/gobl/org/party.rb', line 73 property :telephones, [GOBL::Org::Telephone] |
#uuid ⇒ String (readonly)
Universally Unique Identifier.
18 |
# File 'lib/generated/gobl/org/party.rb', line 18 property :uuid, String |
#websites ⇒ Array<GOBL::Org::Website> (readonly)
Public websites that provide further information about the party.
68 |
# File 'lib/generated/gobl/org/party.rb', line 68 property :websites, [GOBL::Org::Website] |