Class: TD::Types::MessageContent::PaymentRefunded
- Inherits:
-
TD::Types::MessageContent
- Object
- Dry::Struct
- Base
- TD::Types::MessageContent
- TD::Types::MessageContent::PaymentRefunded
- Defined in:
- lib/tdlib/types/message_content/payment_refunded.rb
Overview
A payment has been refunded.
Instance Attribute Summary collapse
-
#currency ⇒ TD::Types::String
Currency for the price of the product.
-
#invoice_payload ⇒ String
Invoice payload; only for bots.
-
#owner_id ⇒ TD::Types::MessageSender
Identifier of the previous owner of the Telegram Stars that refunds them.
-
#provider_payment_charge_id ⇒ TD::Types::String
Provider payment identifier.
-
#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 the price of the product.
10 11 12 |
# File 'lib/tdlib/types/message_content/payment_refunded.rb', line 10 def currency @currency end |
#invoice_payload ⇒ String
Invoice payload; only for bots.
10 11 12 |
# File 'lib/tdlib/types/message_content/payment_refunded.rb', line 10 def invoice_payload @invoice_payload end |
#owner_id ⇒ TD::Types::MessageSender
Identifier of the previous owner of the Telegram Stars that refunds them.
10 11 12 |
# File 'lib/tdlib/types/message_content/payment_refunded.rb', line 10 def owner_id @owner_id end |
#provider_payment_charge_id ⇒ TD::Types::String
Provider payment identifier.
10 11 12 |
# File 'lib/tdlib/types/message_content/payment_refunded.rb', line 10 def provider_payment_charge_id @provider_payment_charge_id end |
#telegram_payment_charge_id ⇒ TD::Types::String
Telegram payment identifier.
10 11 12 |
# File 'lib/tdlib/types/message_content/payment_refunded.rb', line 10 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.
10 11 12 |
# File 'lib/tdlib/types/message_content/payment_refunded.rb', line 10 def total_amount @total_amount end |