public static class TdApi.InputCredentialsNew extends TdApi.InputCredentials
TdApi.InputCredentials.Constructors
Modifier and Type | Field and Description |
---|---|
boolean |
allowSave
True, if the credential identifier can be saved on the server side.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
data
JSON-encoded data with the credential identifier from the payment provider.
|
Constructor and Description |
---|
InputCredentialsNew()
Applies if a user enters new credentials on a payment provider website.
|
InputCredentialsNew(java.lang.String data,
boolean allowSave)
Applies if a user enters new credentials on a payment provider website.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String data
public boolean allowSave
public static final int CONSTRUCTOR
public InputCredentialsNew()
public InputCredentialsNew(java.lang.String data, boolean allowSave)
data
- JSON-encoded data with the credential identifier from the payment provider.allowSave
- True, if the credential identifier can be saved on the server side.public int getConstructor()
getConstructor
in class TdApi.InputCredentials