Class: GOBL::Org::Name

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

Overview

Name represents what a human is called.

Constant Summary collapse

SCHEMA_ID =

The Schema ID of the GOBL Name structure

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

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

#aliasString (readonly)

What the person would like to be called

Returns:

  • (String)


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

property :alias, String

#givenString (readonly)

Person’s given or first name

Returns:

  • (String)


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

property :given, String

#metaGOBL::CBC::Meta (readonly)

Any additional useful data.

Returns:



60
# File 'lib/generated/gobl/org/name.rb', line 60

property :meta, GOBL::CBC::Meta

#middleString (readonly)

Middle names or initials

Returns:

  • (String)


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

property :middle, String

#prefixString (readonly)

Additional prefix to add to name, like Mrs. or Mr.

Returns:

  • (String)


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

property :prefix, String

#suffixString (readonly)

Titles to include after the name.

Returns:

  • (String)


55
# File 'lib/generated/gobl/org/name.rb', line 55

property :suffix, String

#surnameString (readonly)

Second or Family name.

Returns:

  • (String)


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

property :surname, String

#surname2String (readonly)

Additional second of family name.

Returns:

  • (String)


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

property :surname2, String

#uuidString (readonly)

Universally Unique Identifier.

Returns:

  • (String)


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

property :uuid, String