class

Tourmaline::ShippingAddress

Inherits JSON::Serializable / Reference / Object

This object represents a shipping address.

Constructors

new(country_code : String, state : String, city : String, street_line1 : String, street_line2 : String, post_code : String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

city

City

Source
city=(city : String)

City

Source
country_code

Two-letter ISO 3166-1 alpha-2 country code

Source
country_code=(country_code : String)

Two-letter ISO 3166-1 alpha-2 country code

Source
post_code

Address post code

Source
post_code=(post_code : String)

Address post code

Source
state

State, if applicable

Source
state=(state : String)

State, if applicable

Source
street_line1

First line for the address

Source
street_line1=(street_line1 : String)

First line for the address

Source
street_line2

Second line for the address

Source
street_line2=(street_line2 : String)

Second line for the address

Source