class Tourmaline::ShippingAddress
- Tourmaline::ShippingAddress
- Reference
- Object
Overview
This object represents a shipping address.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(country_code : String, state : String, city : String, street_line1 : String, street_line2 : String, post_code : String)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#city : String
City
-
#city=(city : String)
City
-
#country_code : String
Two-letter ISO 3166-1 alpha-2 country code
-
#country_code=(country_code : String)
Two-letter ISO 3166-1 alpha-2 country code
-
#post_code : String
Address post code
-
#post_code=(post_code : String)
Address post code
-
#state : String
State, if applicable
-
#state=(state : String)
State, if applicable
-
#street_line1 : String
First line for the address
-
#street_line1=(street_line1 : String)
First line for the address
-
#street_line2 : String
Second line for the address
-
#street_line2=(street_line2 : String)
Second line for the address
Constructor Detail
def self.new(country_code : String, state : String, city : String, street_line1 : String, street_line2 : String, post_code : String)
#