Class: TD::Types::MessageContent::PaymentSuccessfulBot
- Inherits:
-
TD::Types::MessageContent
- Object
- Dry::Struct
- Base
- TD::Types::MessageContent
- TD::Types::MessageContent::PaymentSuccessfulBot
- Defined in:
- lib/tdlib/types/message_content/payment_successful_bot.rb
Overview
A payment has been completed; for bots only.
Instance Attribute Summary collapse
-
#currency ⇒ TD::Types::String
Currency for price of the product.
-
#invoice_payload ⇒ String
Invoice payload.
-
#order_info ⇒ TD::Types::OrderInfo?
Information about the order; may be null.
-
#provider_payment_charge_id ⇒ TD::Types::String
Provider payment identifier.
-
#shipping_option_id ⇒ TD::Types::String?
Identifier of the shipping option chosen by the user; may be empty if not applicable.
-
#telegram_payment_charge_id ⇒ TD::Types::String
Telegram payment identifier.
-
#total_amount ⇒ Integer
Total price for the product, in the smallest units of the currency.
Method Summary
Methods inherited from Base
Instance Attribute Details
#currency ⇒ TD::Types::String
Currency for price of the product.
12 13 14 |
# File 'lib/tdlib/types/message_content/payment_successful_bot.rb', line 12 def currency @currency end |
#invoice_payload ⇒ String
Invoice payload.
12 13 14 |
# File 'lib/tdlib/types/message_content/payment_successful_bot.rb', line 12 def invoice_payload @invoice_payload end |
#order_info ⇒ TD::Types::OrderInfo?
Information about the order; may be null.
12 13 14 |
# File 'lib/tdlib/types/message_content/payment_successful_bot.rb', line 12 def order_info @order_info end |
#provider_payment_charge_id ⇒ TD::Types::String
Provider payment identifier.
12 13 14 |
# File 'lib/tdlib/types/message_content/payment_successful_bot.rb', line 12 def provider_payment_charge_id @provider_payment_charge_id end |
#shipping_option_id ⇒ TD::Types::String?
Identifier of the shipping option chosen by the user; may be empty if not applicable.
12 13 14 |
# File 'lib/tdlib/types/message_content/payment_successful_bot.rb', line 12 def shipping_option_id @shipping_option_id end |
#telegram_payment_charge_id ⇒ TD::Types::String
Telegram payment identifier.
12 13 14 |
# File 'lib/tdlib/types/message_content/payment_successful_bot.rb', line 12 def telegram_payment_charge_id @telegram_payment_charge_id end |
#total_amount ⇒ Integer
Total price for the product, in the smallest units of the currency.
12 13 14 |
# File 'lib/tdlib/types/message_content/payment_successful_bot.rb', line 12 def total_amount @total_amount end |