class TD::PaymentForm

Included Modules

Defined in:

telegram/types/payment_form.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(id : String, invoice : TD::Invoice, url : String, seller_bot_user_id : Int64, payments_provider_user_id : Int64, payments_provider : Union(TD::PaymentsProviderStripe, Nil), saved_order_info : Union(TD::OrderInfo, Nil), saved_credentials : Union(TD::SavedCredentials, Nil), can_save_credentials : Bool = false, need_password : Bool = false) #

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

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

[View source]

Instance Method Detail

def can_save_credentials : Bool #

def can_save_credentials=(can_save_credentials : Bool) #

def id : String #

def id=(id : String) #

def invoice : TD::Invoice #

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

def need_password : Bool #

def need_password=(need_password : Bool) #

def object_type : String #

def object_type=(object_type : String) #

def payments_provider : TD::PaymentsProviderStripe? #

def payments_provider=(payments_provider : Nil | TD::PaymentsProviderStripe) #

def payments_provider_user_id : Int64 #

def payments_provider_user_id=(payments_provider_user_id : Int64) #

def saved_credentials : TD::SavedCredentials? #

def saved_credentials=(saved_credentials : Nil | TD::SavedCredentials) #

def saved_order_info : TD::OrderInfo? #

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

def seller_bot_user_id : Int64 #

def seller_bot_user_id=(seller_bot_user_id : Int64) #

def url : String #

def url=(url : String) #