Class: TD::Types::PaymentForm
- Defined in:
- lib/tdlib/types/payment_form.rb
Overview
Contains information about an invoice payment form.
Instance Attribute Summary collapse
-
#can_save_credentials ⇒ Boolean
True, if the user can choose to save credentials.
-
#id ⇒ Integer
The payment form identifier.
-
#invoice ⇒ TD::Types::Invoice
Full information of the invoice.
-
#need_password ⇒ Boolean
True, if the user will be able to save credentials protected by a password they set up.
-
#payments_provider ⇒ TD::Types::PaymentsProviderStripe?
Contains information about the payment provider, if available, to support it natively without the need for opening the URL; may be null.
-
#payments_provider_user_id ⇒ Integer
User identifier of the payment provider bot.
-
#saved_credentials ⇒ TD::Types::SavedCredentials?
Contains information about saved card credentials; may be null.
-
#saved_order_info ⇒ TD::Types::OrderInfo?
Saved server-side order information; may be null.
-
#seller_bot_user_id ⇒ Integer
User identifier of the seller bot.
-
#url ⇒ TD::Types::String
Payment form URL.
Method Summary
Methods inherited from Base
Instance Attribute Details
#can_save_credentials ⇒ Boolean
True, if the user can choose to save credentials.
17 18 19 |
# File 'lib/tdlib/types/payment_form.rb', line 17 def can_save_credentials @can_save_credentials end |
#id ⇒ Integer
The payment form identifier.
17 18 19 |
# File 'lib/tdlib/types/payment_form.rb', line 17 def id @id end |
#invoice ⇒ TD::Types::Invoice
Full information of the invoice.
17 18 19 |
# File 'lib/tdlib/types/payment_form.rb', line 17 def invoice @invoice end |
#need_password ⇒ Boolean
True, if the user will be able to save credentials protected by a password they set up.
17 18 19 |
# File 'lib/tdlib/types/payment_form.rb', line 17 def need_password @need_password end |
#payments_provider ⇒ TD::Types::PaymentsProviderStripe?
Contains information about the payment provider, if available, to support it natively without the need for opening the URL; may be null.
17 18 19 |
# File 'lib/tdlib/types/payment_form.rb', line 17 def payments_provider @payments_provider end |
#payments_provider_user_id ⇒ Integer
User identifier of the payment provider bot.
17 18 19 |
# File 'lib/tdlib/types/payment_form.rb', line 17 def payments_provider_user_id @payments_provider_user_id end |
#saved_credentials ⇒ TD::Types::SavedCredentials?
Contains information about saved card credentials; may be null.
17 18 19 |
# File 'lib/tdlib/types/payment_form.rb', line 17 def saved_credentials @saved_credentials end |
#saved_order_info ⇒ TD::Types::OrderInfo?
Saved server-side order information; may be null.
17 18 19 |
# File 'lib/tdlib/types/payment_form.rb', line 17 def saved_order_info @saved_order_info end |
#seller_bot_user_id ⇒ Integer
User identifier of the seller bot.
17 18 19 |
# File 'lib/tdlib/types/payment_form.rb', line 17 def seller_bot_user_id @seller_bot_user_id end |
#url ⇒ TD::Types::String
Payment form URL.
17 18 19 |
# File 'lib/tdlib/types/payment_form.rb', line 17 def url @url end |