Class: GOBL::Org::Person

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

Overview

Person represents a human, and how to contact them electronically.

Constant Summary collapse

SCHEMA_ID =

The Schema ID of the GOBL Person structure

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

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.

Returns:



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

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

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

Avatars provider links to images or photos or the person.

Returns:



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

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

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

Electronic mail addresses that belong to the person.

Returns:



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

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

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

Set of codes used to identify the person, such as ID numbers, social security, driving licenses, etc. that can be attributed to the individual.

Returns:



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

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

#keyGOBL::CBC::Key (readonly)

Key used to identify the role of the person inside the context of the object.

Returns:



28
# File 'lib/generated/gobl/org/person.rb', line 28

property :key, GOBL::CBC::Key

#labelString (readonly)

Label can be used to identify the person in a given context in a single language, for example “Attn”, “Contact”, “Responsible”, etc.

Returns:

  • (String)


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

property :label, String

#metaGOBL::CBC::Meta (readonly)

Data about the data.

Returns:



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

property :meta, GOBL::CBC::Meta

#nameGOBL::Org::Name (readonly)

Complete details on the name of the person.

Returns:



33
# File 'lib/generated/gobl/org/person.rb', line 33

property :name, GOBL::Org::Name

#roleString (readonly)

Role or job title of the responsibilities of the person within an organization.

Returns:

  • (String)


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

property :role, String

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

Regular phone or mobile numbers

Returns:



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

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

#uuidString (readonly)

Universally Unique Identifier.

Returns:

  • (String)


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

property :uuid, String