class Tourmaline::ShippingAddress

Overview

This object represents a shipping address.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(country_code : String, state : String, city : String, street_line1 : String, street_line2 : String, post_code : String) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def city : String #

City


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

City


[View source]
def country_code : String #

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


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

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


[View source]
def post_code : String #

Address post code


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

Address post code


[View source]
def state : String #

State, if applicable


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

State, if applicable


[View source]
def street_line1 : String #

First line for the address


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

First line for the address


[View source]
def street_line2 : String #

Second line for the address


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

Second line for the address


[View source]