Class 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
      Identifier uniquely determining type of the object.
      java.lang.String data
      Contains JSON-encoded data with a credential identifier from the payment provider.
    • Constructor Summary

      Constructors 
      Constructor Description
      InputCredentialsNew()
      Default constructor.
      InputCredentialsNew​(java.lang.String data, boolean allowSave)
      Constructor for initialization of all fields.
    • Field Detail

      • data

        public java.lang.String data
        Contains JSON-encoded data with a 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
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • InputCredentialsNew

        public InputCredentialsNew()
        Default constructor.
      • InputCredentialsNew

        public InputCredentialsNew​(java.lang.String data,
                                   boolean allowSave)
        Constructor for initialization of all fields.
        Parameters:
        data - Contains JSON-encoded data with a credential identifier from the payment provider.
        allowSave - True, if the credential identifier can be saved on the server side.