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.
59 |
# File 'lib/generated/gobl/org/party.rb', line 59 property :addresses, [GOBL::Org::Address] |
#alias ⇒ String (readonly)
Alternate short name.
29 |
# File 'lib/generated/gobl/org/party.rb', line 29 property :alias, String |
#emails ⇒ Array<GOBL::Org::Email> (readonly)
Electronic mail addresses
64 |
# File 'lib/generated/gobl/org/party.rb', line 64 property :emails, [GOBL::Org::Email] |
#ext ⇒ GOBL::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 |
#identities ⇒ Array<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] |
#inboxes ⇒ Array<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] |
#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.
34 |
# File 'lib/generated/gobl/org/party.rb', line 34 property :label, String |
#logos ⇒ Array<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] |
#meta ⇒ GOBL::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 |
#name ⇒ String (readonly)
Legal name or representation of the organization.
23 |
# File 'lib/generated/gobl/org/party.rb', line 23 property :name, String |
#people ⇒ Array<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] |
#registration ⇒ GOBL::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_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.
39 |
# File 'lib/generated/gobl/org/party.rb', line 39 property :tax_id, GOBL::Tax::Identity |
#telephones ⇒ Array<GOBL::Org::Telephone> (readonly)
Regular telephone numbers
74 |
# File 'lib/generated/gobl/org/party.rb', line 74 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.
69 |
# File 'lib/generated/gobl/org/party.rb', line 69 property :websites, [GOBL::Org::Website] |