class
TD::PaymentReceipt
- TD::PaymentReceipt
- TD::Base
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram/types/payment_receipt.crConstructors
- .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)
- .new(pull : JSON::PullParser)
- .new(__json : JSON::Any | Nil = nil)
Instance Method Summary
- #credentials_title : String
- #credentials_title=(credentials_title : String)
- #date : Int32
- #date=(date : Int32)
- #description : String
- #description=(description : String)
- #invoice : TD::Invoice
- #invoice=(invoice : TD::Invoice)
- #object_type : String
- #object_type=(object_type : String)
- #order_info : TD::OrderInfo?
- #order_info=(order_info : Nil | TD::OrderInfo)
- #payments_provider_user_id : Int64
- #payments_provider_user_id=(payments_provider_user_id : Int64)
- #photo : TD::Photo?
- #photo=(photo : Nil | TD::Photo)
- #seller_bot_user_id : Int64
- #seller_bot_user_id=(seller_bot_user_id : Int64)
- #shipping_option : TD::ShippingOption?
- #shipping_option=(shipping_option : Nil | TD::ShippingOption)
- #tip_amount : Int64
- #tip_amount=(tip_amount : Int64)
- #title : String
- #title=(title : 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(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)
#