class Tourmaline::LocationAddress

Overview

Describes the physical address of a location.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(country_code : String, state : String | Nil = nil, city : String | Nil = nil, street : String | Nil = nil) #

[View source]

Instance Method Detail

def city : String | Nil #

Optional. City of the location


[View source]
def city=(city : String | Nil) #

Optional. City of the location


[View source]
def country_code : String #

The two-letter ISO 3166-1 alpha-2 country code of the country where the location is located


[View source]
def country_code=(country_code : String) #

The two-letter ISO 3166-1 alpha-2 country code of the country where the location is located


[View source]
def state : String | Nil #

Optional. State of the location


[View source]
def state=(state : String | Nil) #

Optional. State of the location


[View source]
def street : String | Nil #

Optional. Street address of the location


[View source]
def street=(street : String | Nil) #

Optional. Street address of the location


[View source]