class
Hamilton::Types::ShippingAddress
- Hamilton::Types::ShippingAddress
- Reference
- Object
Overview
This object represents a shipping address.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/shipping_address.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
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.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#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.