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

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

Avatars provider links to images or photos or the person.

Returns:



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

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

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

Electronic mail addresses that belong to the person.

Returns:



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

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

#metaGOBL::CBC::Meta (readonly)

Data about the data.

Returns:



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

property :meta, GOBL::CBC::Meta

#nameGOBL::Org::Name (readonly)

Complete details on the name of the person

Returns:



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

property :name, GOBL::Org::Name

#roleString (readonly)

What they do within an organization

Returns:

  • (String)


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

property :role, String

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

Regular phone or mobile numbers

Returns:



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

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

#uuidGOBL::UUID::UUID (readonly)

Unique identity code

Returns:



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

property :uuid, GOBL::UUID::UUID