class Telegram::API::OrderInfo

Overview

This object represents information about an order.

Defined in:

telegram/api/generated/types.cr

Constructors

Instance Method Summary

Instance methods inherited from class Telegram::API::Type

==(other) ==, client client

Constructor methods inherited from class Telegram::API::Type

new(pull : JSON::PullParser) new

Constructor Detail

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

This object represents information about an order.


[View source]
def self.new(name : String | Nil = nil, phone_number : String | Nil = nil, email : String | Nil = nil, shipping_address : 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 : ShippingAddress | Nil #

Optional. User shipping address


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

Optional. User shipping address


[View source]