Package it.tdlight.jni
Class TdApi.InputCredentialsNew
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InputCredentials
it.tdlight.jni.TdApi.InputCredentialsNew
- Enclosing class:
- TdApi
public static class TdApi.InputCredentialsNew extends TdApi.InputCredentials
Applies if a user enters new credentials
on a payment provider website.
-
Field Summary
Fields Modifier and Type Field Description boolean
allowSave
True, if the credential identifier can be saved on the server side.static int
CONSTRUCTOR
String
data
Contains JSON-encoded data with a credential identifier from the payment provider. -
Constructor Summary
Constructors Constructor Description InputCredentialsNew()
Applies if a user enters new credentials on a payment provider website.InputCredentialsNew(DataInput input)
InputCredentialsNew(String data, boolean allowSave)
Applies if a user enters new credentials on a payment provider website. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
data
Contains JSON-encoded data with a credential identifier from the payment provider. -
allowSave
public boolean allowSaveTrue, if the credential identifier can be saved on the server side. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
InputCredentialsNew
public InputCredentialsNew()Applies if a user enters new credentials on a payment provider website. -
InputCredentialsNew
Applies if a user enters new credentials on a payment provider website.- Parameters:
data
- String Contains JSON-encoded data with a credential identifier from the payment provider.allowSave
- boolean True, if the credential identifier can be saved on the server side.
-
InputCredentialsNew
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-