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.
-
#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.
-
#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.
-
#url ⇒ 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.
14 15 16 |
# File 'lib/tdlib/types/payment_form.rb', line 14 def can_save_credentials @can_save_credentials end |
#invoice ⇒ TD::Types::Invoice
Full information of the invoice.
14 15 16 |
# File 'lib/tdlib/types/payment_form.rb', line 14 def invoice @invoice end |
#need_password ⇒ Boolean
True, if the user will be able to save credentials protected by a password they set up.
14 15 16 |
# File 'lib/tdlib/types/payment_form.rb', line 14 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.
14 15 16 |
# File 'lib/tdlib/types/payment_form.rb', line 14 def payments_provider @payments_provider end |
#saved_credentials ⇒ TD::Types::SavedCredentials?
Contains information about saved card credentials; may be null.
14 15 16 |
# File 'lib/tdlib/types/payment_form.rb', line 14 def saved_credentials @saved_credentials end |
#saved_order_info ⇒ TD::Types::OrderInfo?
Saved server-side order information; may be null.
14 15 16 |
# File 'lib/tdlib/types/payment_form.rb', line 14 def saved_order_info @saved_order_info end |
#url ⇒ String
Payment form URL.
14 15 16 |
# File 'lib/tdlib/types/payment_form.rb', line 14 def url @url end |