class Hamilton::Types::ShippingAddress

Overview

This object represents a shipping address.

Included Modules

Defined in:

types/shipping_address.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

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

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

def city : String #

City.


def city=(city : String) #

City.


def country_code : String #

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


def country_code=(country_code : String) #

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


def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.


def post_code : String #

Address post code.


def post_code=(post_code : String) #

Address post code.


def state : String #

State, if applicable.


def state=(state : String) #

State, if applicable.


def street_line1 : String #

First line for the address.


def street_line1=(street_line1 : String) #

First line for the address.


def street_line2 : String #

Second line for the address.


def street_line2=(street_line2 : String) #

Second line for the address.