Class: TD::Types::Update::NewPreCheckoutQuery
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::NewPreCheckoutQuery
- Defined in:
- lib/tdlib/types/update/new_pre_checkout_query.rb
Overview
A new incoming pre-checkout query; for bots only. Contains full information about a checkout.
Instance Attribute Summary collapse
-
#currency ⇒ TD::Types::String
Currency for the product price.
-
#id ⇒ Integer
Unique query identifier.
-
#invoice_payload ⇒ String
Invoice payload.
-
#order_info ⇒ TD::Types::OrderInfo?
Information about the order; may be null.
-
#sender_user_id ⇒ Integer
Identifier of the user who sent the query.
-
#shipping_option_id ⇒ TD::Types::String?
Identifier of a shipping option chosen by the user; may be empty if not applicable.
-
#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 product price.
13 14 15 |
# File 'lib/tdlib/types/update/new_pre_checkout_query.rb', line 13 def currency @currency end |
#id ⇒ Integer
Unique query identifier.
13 14 15 |
# File 'lib/tdlib/types/update/new_pre_checkout_query.rb', line 13 def id @id end |
#invoice_payload ⇒ String
Invoice payload.
13 14 15 |
# File 'lib/tdlib/types/update/new_pre_checkout_query.rb', line 13 def invoice_payload @invoice_payload end |
#order_info ⇒ TD::Types::OrderInfo?
Information about the order; may be null.
13 14 15 |
# File 'lib/tdlib/types/update/new_pre_checkout_query.rb', line 13 def order_info @order_info end |
#sender_user_id ⇒ Integer
Identifier of the user who sent the query.
13 14 15 |
# File 'lib/tdlib/types/update/new_pre_checkout_query.rb', line 13 def sender_user_id @sender_user_id end |
#shipping_option_id ⇒ TD::Types::String?
Identifier of a shipping option chosen by the user; may be empty if not applicable.
13 14 15 |
# File 'lib/tdlib/types/update/new_pre_checkout_query.rb', line 13 def shipping_option_id @shipping_option_id end |
#total_amount ⇒ Integer
Total price for the product, in the smallest units of the currency.
13 14 15 |
# File 'lib/tdlib/types/update/new_pre_checkout_query.rb', line 13 def total_amount @total_amount end |