class TD::PaymentReceipt

Included Modules

Defined in:

telegram/types/payment_receipt.cr

Constructors

Instance Method Summary

Instance methods inherited from class TD::Base

extract_abstract_type(__json : JSON::Any) extract_abstract_type, extract_type(__json : JSON::Any, class_type : Class) extract_type

Macros inherited from class TD::Base

object_attributes(type) object_attributes, object_type(type) object_type

Constructor Detail

def self.new(title : String, description : String, photo : Union(TD::Photo, Nil), date : Int32, seller_bot_user_id : Int64, payments_provider_user_id : Int64, invoice : TD::Invoice, order_info : Union(TD::OrderInfo, Nil), shipping_option : Union(TD::ShippingOption, Nil), credentials_title : String, tip_amount : Int64) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(__json : JSON::Any | Nil = nil) #

[View source]

Instance Method Detail

def credentials_title : String #

def credentials_title=(credentials_title : String) #

def date : Int32 #

def date=(date : Int32) #

def description : String #

def description=(description : String) #

def invoice : TD::Invoice #

def invoice=(invoice : TD::Invoice) #

def object_type : String #

def object_type=(object_type : String) #

def order_info : TD::OrderInfo? #

def order_info=(order_info : Nil | TD::OrderInfo) #

def payments_provider_user_id : Int64 #

def payments_provider_user_id=(payments_provider_user_id : Int64) #

def photo : TD::Photo? #

def photo=(photo : Nil | TD::Photo) #

def seller_bot_user_id : Int64 #

def seller_bot_user_id=(seller_bot_user_id : Int64) #

def shipping_option : TD::ShippingOption? #

def shipping_option=(shipping_option : Nil | TD::ShippingOption) #

def tip_amount : Int64 #

def tip_amount=(tip_amount : Int64) #

def title : String #

def title=(title : String) #