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 ⇒ GOBL::UUID::UUID
readonly
Unique identity code.
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
24 |
# File 'lib/generated/gobl/org/name.rb', line 24 property :alias, String |
#given ⇒ String (readonly)
Person’s given or first name
34 |
# File 'lib/generated/gobl/org/name.rb', line 34 property :given, String |
#meta ⇒ GOBL::CBC::Meta (readonly)
Any additional useful data.
61 |
# File 'lib/generated/gobl/org/name.rb', line 61 property :meta, GOBL::CBC::Meta |
#middle ⇒ String (readonly)
Middle names or initials
40 |
# File 'lib/generated/gobl/org/name.rb', line 40 property :middle, String |
#prefix ⇒ String (readonly)
Additional prefix to add to name, like Mrs. or Mr.
29 |
# File 'lib/generated/gobl/org/name.rb', line 29 property :prefix, String |
#suffix ⇒ String (readonly)
Titles to include after the name.
56 |
# File 'lib/generated/gobl/org/name.rb', line 56 property :suffix, String |
#surname ⇒ String (readonly)
Second or Family name.
45 |
# File 'lib/generated/gobl/org/name.rb', line 45 property :surname, String |
#surname2 ⇒ String (readonly)
Additional second of family name.
51 |
# File 'lib/generated/gobl/org/name.rb', line 51 property :surname2, String |
#uuid ⇒ GOBL::UUID::UUID (readonly)
Unique identity code
19 |
# File 'lib/generated/gobl/org/name.rb', line 19 property :uuid, GOBL::UUID::UUID |