Class: TD::Types::PaymentFormType::Regular

Inherits:
TD::Types::PaymentFormType show all
Defined in:
lib/tdlib/types/payment_form_type/regular.rb

Overview

The payment form is for a regular payment.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#additional_payment_optionsArray<TD::Types::PaymentOption>

The list of additional payment options.



13
14
15
# File 'lib/tdlib/types/payment_form_type/regular.rb', line 13

def additional_payment_options
  @additional_payment_options
end

#can_save_credentialsBoolean

True, if the user can choose to save credentials.



13
14
15
# File 'lib/tdlib/types/payment_form_type/regular.rb', line 13

def can_save_credentials
  @can_save_credentials
end

#invoiceTD::Types::Invoice

Full information about the invoice.



13
14
15
# File 'lib/tdlib/types/payment_form_type/regular.rb', line 13

def invoice
  @invoice
end

#need_passwordBoolean

True, if the user will be able to save credentials, if sets up a 2-step verification password.



13
14
15
# File 'lib/tdlib/types/payment_form_type/regular.rb', line 13

def need_password
  @need_password
end

#payment_providerTD::Types::PaymentProvider

Information about the payment provider.



13
14
15
# File 'lib/tdlib/types/payment_form_type/regular.rb', line 13

def payment_provider
  @payment_provider
end

#payment_provider_user_idInteger

User identifier of the payment provider bot.



13
14
15
# File 'lib/tdlib/types/payment_form_type/regular.rb', line 13

def payment_provider_user_id
  @payment_provider_user_id
end

#saved_credentialsArray<TD::Types::SavedCredentials>

The list of saved payment credentials.



13
14
15
# File 'lib/tdlib/types/payment_form_type/regular.rb', line 13

def saved_credentials
  @saved_credentials
end

#saved_order_infoTD::Types::OrderInfo?

Saved server-side order information; may be null.



13
14
15
# File 'lib/tdlib/types/payment_form_type/regular.rb', line 13

def saved_order_info
  @saved_order_info
end