Class: TD::Types::MessageContent::PaymentSuccessful
- Inherits:
-
TD::Types::MessageContent
- Object
- Dry::Struct
- Base
- TD::Types::MessageContent
- TD::Types::MessageContent::PaymentSuccessful
- Defined in:
- lib/tdlib/types/message_content/payment_successful.rb
Overview
A payment has been completed.
Instance Attribute Summary collapse
-
#currency ⇒ String
Currency for the price of the product.
-
#invoice_message_id ⇒ Integer
Identifier of the message with the corresponding invoice; can be an identifier of a deleted message.
-
#total_amount ⇒ Integer
Total price for the product, in the minimal quantity of the currency.
Method Summary
Methods inherited from Base
Instance Attribute Details
#currency ⇒ String
Currency for the price of the product.
8 9 10 |
# File 'lib/tdlib/types/message_content/payment_successful.rb', line 8 def currency @currency end |
#invoice_message_id ⇒ Integer
Identifier of the message with the corresponding invoice; can be an identifier of a deleted message.
8 9 10 |
# File 'lib/tdlib/types/message_content/payment_successful.rb', line 8 def end |
#total_amount ⇒ Integer
Total price for the product, in the minimal quantity of the currency.
8 9 10 |
# File 'lib/tdlib/types/message_content/payment_successful.rb', line 8 def total_amount @total_amount end |