class
TD::PaymentForm
- TD::PaymentForm
- TD::Base
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram/types/payment_form.crConstructors
- .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)
- .new(pull : JSON::PullParser)
- .new(__json : JSON::Any | Nil = nil)
Instance Method Summary
- #can_save_credentials : Bool
- #can_save_credentials=(can_save_credentials : Bool)
- #id : String
- #id=(id : String)
- #invoice : TD::Invoice
- #invoice=(invoice : TD::Invoice)
- #need_password : Bool
- #need_password=(need_password : Bool)
- #object_type : String
- #object_type=(object_type : String)
- #payments_provider : TD::PaymentsProviderStripe?
- #payments_provider=(payments_provider : Nil | TD::PaymentsProviderStripe)
- #payments_provider_user_id : Int64
- #payments_provider_user_id=(payments_provider_user_id : Int64)
- #saved_credentials : TD::SavedCredentials?
- #saved_credentials=(saved_credentials : Nil | TD::SavedCredentials)
- #saved_order_info : TD::OrderInfo?
- #saved_order_info=(saved_order_info : Nil | TD::OrderInfo)
- #seller_bot_user_id : Int64
- #seller_bot_user_id=(seller_bot_user_id : Int64)
- #url : String
- #url=(url : String)
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)
#