Skip to content

class Tourmaline::OrderInfo
inherits Reference #

This object represents information about an order.

Included modules

JSON::Serializable

Constructors#

.new(pull : JSON::PullParser) #

View source

.new(name : String? = nil, phone_number : String? = nil, email : String? = nil, shipping_address : Tourmaline::ShippingAddress? = nil) #

View source

Methods#

#email : String? #

Optional. User email

View source

#email=(email : String?) #

Optional. User email

View source

#name : String? #

Optional. User name

View source

#name=(name : String?) #

Optional. User name

View source

#phone_number : String? #

Optional. User's phone number

View source

#phone_number=(phone_number : String?) #

Optional. User's phone number

View source

#shipping_address : Tourmaline::ShippingAddress? #

Optional. User shipping address

View source

#shipping_address=(shipping_address : Tourmaline::ShippingAddress?) #

Optional. User shipping address

View source