Class: TD::Types::PaymentReceiptType::Regular
- Inherits:
-
TD::Types::PaymentReceiptType
- Object
- Dry::Struct
- Base
- TD::Types::PaymentReceiptType
- TD::Types::PaymentReceiptType::Regular
- Defined in:
- lib/tdlib/types/payment_receipt_type/regular.rb
Overview
The payment was done using a third-party payment provider.
Instance Attribute Summary collapse
-
#credentials_title ⇒ TD::Types::String
Title of the saved credentials chosen by the buyer.
-
#invoice ⇒ TD::Types::Invoice
Information about the invoice.
-
#order_info ⇒ TD::Types::OrderInfo?
Order information; may be null.
-
#payment_provider_user_id ⇒ Integer
User identifier of the payment provider 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.
Method Summary
Methods inherited from Base
Instance Attribute Details
#credentials_title ⇒ TD::Types::String
Title of the saved credentials chosen by the buyer.
10 11 12 |
# File 'lib/tdlib/types/payment_receipt_type/regular.rb', line 10 def credentials_title @credentials_title end |
#invoice ⇒ TD::Types::Invoice
Information about the invoice.
10 11 12 |
# File 'lib/tdlib/types/payment_receipt_type/regular.rb', line 10 def invoice @invoice end |
#order_info ⇒ TD::Types::OrderInfo?
Order information; may be null.
10 11 12 |
# File 'lib/tdlib/types/payment_receipt_type/regular.rb', line 10 def order_info @order_info end |
#payment_provider_user_id ⇒ Integer
User identifier of the payment provider bot.
10 11 12 |
# File 'lib/tdlib/types/payment_receipt_type/regular.rb', line 10 def payment_provider_user_id @payment_provider_user_id end |
#shipping_option ⇒ TD::Types::ShippingOption?
Chosen shipping option; may be null.
10 11 12 |
# File 'lib/tdlib/types/payment_receipt_type/regular.rb', line 10 def shipping_option @shipping_option end |
#tip_amount ⇒ Integer
The amount of tip chosen by the buyer in the smallest units of the currency.
10 11 12 |
# File 'lib/tdlib/types/payment_receipt_type/regular.rb', line 10 def tip_amount @tip_amount end |