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:



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

property :meta, GOBL::CBC::Meta

#middleString (readonly)

Middle names or initials

Returns:

  • (String)


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

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)


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

property :suffix, String

#surnameString (readonly)

Second or Family name.

Returns:

  • (String)


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

property :surname, String

#surname2String (readonly)

Additional second of family name.

Returns:

  • (String)


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

property :surname2, String

#uuidString (readonly)

Universally Unique Identifier.

Returns:

  • (String)


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

property :uuid, String