Class: GOBL::Org::Name
- Inherits:
-
GOBL::Object
- Object
- Struct
- GOBL::Object
- GOBL::Org::Name
- 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
-
#alias ⇒ String
readonly
What the person would like to be called.
-
#given ⇒ String
readonly
Person’s given or first name.
-
#meta ⇒ GOBL::CBC::Meta
readonly
Any additional useful data.
-
#middle ⇒ String
readonly
Middle names or initials.
-
#prefix ⇒ String
readonly
Additional prefix to add to name, like Mrs.
-
#suffix ⇒ String
readonly
Titles to include after the name.
-
#surname ⇒ String
readonly
Second or Family name.
-
#surname2 ⇒ String
readonly
Additional second of family name.
-
#uuid ⇒ String
readonly
Universally Unique Identifier.
Method Summary
Methods inherited from GOBL::Object
Methods inherited from Struct
#as_json, from_data, from_json!, #to_json
Instance Attribute Details
#alias ⇒ String (readonly)
What the person would like to be called
23 |
# File 'lib/generated/gobl/org/name.rb', line 23 property :alias, String |
#given ⇒ String (readonly)
Person’s given or first name
33 |
# File 'lib/generated/gobl/org/name.rb', line 33 property :given, String |
#meta ⇒ GOBL::CBC::Meta (readonly)
Any additional useful data.
60 |
# File 'lib/generated/gobl/org/name.rb', line 60 property :meta, GOBL::CBC::Meta |
#middle ⇒ String (readonly)
Middle names or initials
39 |
# File 'lib/generated/gobl/org/name.rb', line 39 property :middle, String |
#prefix ⇒ String (readonly)
Additional prefix to add to name, like Mrs. or Mr.
28 |
# File 'lib/generated/gobl/org/name.rb', line 28 property :prefix, String |
#suffix ⇒ String (readonly)
Titles to include after the name.
55 |
# File 'lib/generated/gobl/org/name.rb', line 55 property :suffix, String |
#surname ⇒ String (readonly)
Second or Family name.
44 |
# File 'lib/generated/gobl/org/name.rb', line 44 property :surname, String |
#surname2 ⇒ String (readonly)
Additional second of family name.
50 |
# File 'lib/generated/gobl/org/name.rb', line 50 property :surname2, String |
#uuid ⇒ String (readonly)
Universally Unique Identifier.
18 |
# File 'lib/generated/gobl/org/name.rb', line 18 property :uuid, String |