Class: TD::Types::PaymentReceipt
- Defined in:
- lib/tdlib/types/payment_receipt.rb
Overview
Contains information about a successful payment.
Instance Attribute Summary collapse
-
#credentials_title ⇒ TD::Types::String
Title of the saved credentials chosen by the buyer.
-
#date ⇒ Integer
Point in time (Unix timestamp) when the payment was made.
-
#description ⇒ TD::Types::String
Product description.
-
#invoice ⇒ TD::Types::Invoice
Contains information about the invoice.
-
#order_info ⇒ TD::Types::OrderInfo?
Order information; may be null.
-
#payments_provider_user_id ⇒ Integer
User identifier of the payment provider bot.
-
#photo ⇒ TD::Types::Photo?
Product photo; may be null.
-
#seller_bot_user_id ⇒ Integer
User identifier of the seller bot.
-
#shipping_option ⇒ TD::Types::ShippingOption?
Chosen shipping option; may be null.
-
#tip_amount ⇒ Integer
The amount of tip chosen by the buyer in the smallest units of the currency.
-
#title ⇒ TD::Types::String
Product title.
Method Summary
Methods inherited from Base
Instance Attribute Details
#credentials_title ⇒ TD::Types::String
Title of the saved credentials chosen by the buyer.
15 16 17 |
# File 'lib/tdlib/types/payment_receipt.rb', line 15 def credentials_title @credentials_title end |
#date ⇒ Integer
Point in time (Unix timestamp) when the payment was made.
15 16 17 |
# File 'lib/tdlib/types/payment_receipt.rb', line 15 def date @date end |
#description ⇒ TD::Types::String
Product description.
15 16 17 |
# File 'lib/tdlib/types/payment_receipt.rb', line 15 def description @description end |
#invoice ⇒ TD::Types::Invoice
Contains information about the invoice.
15 16 17 |
# File 'lib/tdlib/types/payment_receipt.rb', line 15 def invoice @invoice end |
#order_info ⇒ TD::Types::OrderInfo?
Order information; may be null.
15 16 17 |
# File 'lib/tdlib/types/payment_receipt.rb', line 15 def order_info @order_info end |
#payments_provider_user_id ⇒ Integer
User identifier of the payment provider bot.
15 16 17 |
# File 'lib/tdlib/types/payment_receipt.rb', line 15 def payments_provider_user_id @payments_provider_user_id end |
#photo ⇒ TD::Types::Photo?
Product photo; may be null.
15 16 17 |
# File 'lib/tdlib/types/payment_receipt.rb', line 15 def photo @photo end |
#seller_bot_user_id ⇒ Integer
User identifier of the seller bot.
15 16 17 |
# File 'lib/tdlib/types/payment_receipt.rb', line 15 def seller_bot_user_id @seller_bot_user_id end |
#shipping_option ⇒ TD::Types::ShippingOption?
Chosen shipping option; may be null.
15 16 17 |
# File 'lib/tdlib/types/payment_receipt.rb', line 15 def shipping_option @shipping_option end |
#tip_amount ⇒ Integer
The amount of tip chosen by the buyer in the smallest units of the currency.
15 16 17 |
# File 'lib/tdlib/types/payment_receipt.rb', line 15 def tip_amount @tip_amount end |
#title ⇒ TD::Types::String
Product title.
15 16 17 |
# File 'lib/tdlib/types/payment_receipt.rb', line 15 def title @title end |