class Tourmaline::OrderInfo

Overview

This object represents information about an order.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(name : String | Nil = nil, phone_number : String | Nil = nil, email : String | Nil = nil, shipping_address : Tourmaline::ShippingAddress | Nil = nil) #

[View source]

Instance Method Detail

def email : String | Nil #

Optional. User email


[View source]
def email=(email : String | Nil) #

Optional. User email


[View source]
def name : String | Nil #

Optional. User name


[View source]
def name=(name : String | Nil) #

Optional. User name


[View source]
def phone_number : String | Nil #

Optional. User's phone number


[View source]
def phone_number=(phone_number : String | Nil) #

Optional. User's phone number


[View source]
def shipping_address : Tourmaline::ShippingAddress | Nil #

Optional. User shipping address


[View source]
def shipping_address=(shipping_address : Tourmaline::ShippingAddress | Nil) #

Optional. User shipping address


[View source]