class Tourmaline::OrderInfo
- Tourmaline::OrderInfo
- Reference
- Object
Overview
This object represents information about an order.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(pull : JSON::PullParser)
- .new(name : String | Nil = nil, phone_number : String | Nil = nil, email : String | Nil = nil, shipping_address : Tourmaline::ShippingAddress | Nil = nil)
Instance Method Summary
-
#email : String | Nil
Optional.
-
#email=(email : String | Nil)
Optional.
-
#name : String | Nil
Optional.
-
#name=(name : String | Nil)
Optional.
-
#phone_number : String | Nil
Optional.
-
#phone_number=(phone_number : String | Nil)
Optional.
-
#shipping_address : Tourmaline::ShippingAddress | Nil
Optional.
-
#shipping_address=(shipping_address : Tourmaline::ShippingAddress | Nil)
Optional.
Constructor Detail
def self.new(name : String | Nil = nil, phone_number : String | Nil = nil, email : String | Nil = nil, shipping_address : Tourmaline::ShippingAddress | Nil = nil)
#
Instance Method Detail
def shipping_address=(shipping_address : Tourmaline::ShippingAddress | Nil)
#
Optional. User shipping address