Class: GOBL::Org::Address
- Inherits:
-
GOBL::Object
- Object
- Struct
- GOBL::Object
- GOBL::Org::Address
- Defined in:
- lib/generated/gobl/org/address.rb
Overview
Address defines a globally acceptable set of attributes that describes a postal or fiscal address.
Constant Summary collapse
- SCHEMA_ID =
The Schema ID of the GOBL Address structure
'https://gobl.org/draft-0/org/address'
Instance Attribute Summary collapse
-
#block ⇒ String
readonly
Block number within the building.
-
#code ⇒ String
readonly
Post or ZIP code.
-
#coords ⇒ GOBL::Org::Coordinates
readonly
When the postal address is not sufficient, coordinates help locate the address more precisely.
-
#country ⇒ GOBL::L10n::CountryCode
readonly
ISO country code.
-
#door ⇒ String
readonly
Door number within the building.
-
#floor ⇒ String
readonly
Floor number within the building.
-
#label ⇒ String
readonly
Useful identifier, such as home, work, etc.
-
#locality ⇒ String
readonly
Village, town, district, or city, typically inside a region.
-
#meta ⇒ GOBL::CBC::Meta
readonly
Any additional semi-structure details about the address.
-
#num ⇒ String
readonly
House or building number in the street.
-
#po_box ⇒ String
readonly
Box number or code for the post office box located at the address.
-
#region ⇒ String
readonly
Province, county, or state, inside a country.
-
#street ⇒ String
readonly
First line of street.
-
#street_extra ⇒ String
readonly
Additional street address details.
-
#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
#block ⇒ String (readonly)
Block number within the building.
43 |
# File 'lib/generated/gobl/org/address.rb', line 43 property :block, String |
#code ⇒ String (readonly)
Post or ZIP code.
74 |
# File 'lib/generated/gobl/org/address.rb', line 74 property :code, String |
#coords ⇒ GOBL::Org::Coordinates (readonly)
When the postal address is not sufficient, coordinates help locate the address more precisely.
84 |
# File 'lib/generated/gobl/org/address.rb', line 84 property :coords, GOBL::Org::Coordinates |
#country ⇒ GOBL::L10n::CountryCode (readonly)
ISO country code.
79 |
# File 'lib/generated/gobl/org/address.rb', line 79 property :country, GOBL::L10n::CountryCode |
#door ⇒ String (readonly)
Door number within the building.
48 |
# File 'lib/generated/gobl/org/address.rb', line 48 property :door, String |
#floor ⇒ String (readonly)
Floor number within the building.
38 |
# File 'lib/generated/gobl/org/address.rb', line 38 property :floor, String |
#label ⇒ String (readonly)
Useful identifier, such as home, work, etc.
23 |
# File 'lib/generated/gobl/org/address.rb', line 23 property :label, String |
#locality ⇒ String (readonly)
Village, town, district, or city, typically inside a region.
63 |
# File 'lib/generated/gobl/org/address.rb', line 63 property :locality, String |
#meta ⇒ GOBL::CBC::Meta (readonly)
Any additional semi-structure details about the address.
89 |
# File 'lib/generated/gobl/org/address.rb', line 89 property :meta, GOBL::CBC::Meta |
#num ⇒ String (readonly)
House or building number in the street.
33 |
# File 'lib/generated/gobl/org/address.rb', line 33 property :num, String |
#po_box ⇒ String (readonly)
Box number or code for the post office box located at the address.
28 |
# File 'lib/generated/gobl/org/address.rb', line 28 property :po_box, String |
#region ⇒ String (readonly)
Province, county, or state, inside a country.
69 |
# File 'lib/generated/gobl/org/address.rb', line 69 property :region, String |
#street ⇒ String (readonly)
First line of street.
53 |
# File 'lib/generated/gobl/org/address.rb', line 53 property :street, String |
#street_extra ⇒ String (readonly)
Additional street address details.
58 |
# File 'lib/generated/gobl/org/address.rb', line 58 property :street_extra, String |
#uuid ⇒ String (readonly)
Universally Unique Identifier.
18 |
# File 'lib/generated/gobl/org/address.rb', line 18 property :uuid, String |