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)


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

property :alias, String

#givenString (readonly)

Person’s given or first name

Returns:

  • (String)


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

property :given, String

#metaGOBL::CBC::Meta (readonly)

Any additional useful data.

Returns:



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

property :meta, GOBL::CBC::Meta

#middleString (readonly)

Middle names or initials

Returns:

  • (String)


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

property :middle, String

#prefixString (readonly)

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

Returns:

  • (String)


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

property :prefix, String

#suffixString (readonly)

Titles to include after the name.

Returns:

  • (String)


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

property :suffix, String

#surnameString (readonly)

Second or Family name.

Returns:

  • (String)


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

property :surname, String

#surname2String (readonly)

Additional second of family name.

Returns:

  • (String)


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

property :surname2, String

#uuidGOBL::UUID::UUID (readonly)

Unique identity code

Returns:



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

property :uuid, GOBL::UUID::UUID