Class: TD::Types::InputCredentials::New

Inherits:
TD::Types::InputCredentials show all
Defined in:
lib/tdlib/types/input_credentials/new.rb

Overview

Applies if a user enters new credentials on a payment provider website.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#allow_saveBoolean

True, if the credential identifier can be saved on the server side.

Returns:

  • (Boolean)

    the current value of allow_save



6
7
8
# File 'lib/tdlib/types/input_credentials/new.rb', line 6

def allow_save
  @allow_save
end

#dataTD::Types::String

Contains JSON-encoded data with a credential identifier from the payment provider.

Returns:

  • (TD::Types::String)

    the current value of data



6
7
8
# File 'lib/tdlib/types/input_credentials/new.rb', line 6

def data
  @data
end