Module tdlight.api

Class TdApi.InputCredentialsNew

Enclosing class:
TdApi

public static final class TdApi.InputCredentialsNew extends TdApi.InputCredentials
Applies if a user enters new credentials on a payment provider website.
  • Field Details

    • data

      public String data
      JSON-encoded data with the credential identifier from the payment provider.
    • allowSave

      public boolean allowSave
      True, if the credential identifier can be saved on the server side.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • InputCredentialsNew

      public InputCredentialsNew()
      Applies if a user enters new credentials on a payment provider website.
    • InputCredentialsNew

      public InputCredentialsNew(String data, boolean allowSave)
      Applies if a user enters new credentials on a payment provider website.
      Parameters:
      data - String JSON-encoded data with the credential identifier from the payment provider.
      allowSave - boolean True, if the credential identifier can be saved on the server side.
    • InputCredentialsNew

      public InputCredentialsNew(DataInput input) throws IOException
      Applies if a user enters new credentials on a payment provider website.
      Throws:
      IOException
  • Method Details