Enum PushResponseKey

    • Field Detail

      • TYPE_UNKNOWN

        public static final String TYPE_UNKNOWN
        The message received is not recognized by the SDK.
        See Also:
        Constant Field Values
      • TYPE_CARD_STATE

        public static final String TYPE_CARD_STATE
        A message is received to notify the Application that there is an update for Card State. This notification only happen if data contains key="sender" with value="CPS" When this type is received, application will receive another callback on D1PayDataChangedListener
        See Also:
        Constant Field Values
      • TYPE_REPLENISHMENT

        public static final String TYPE_REPLENISHMENT
        A message is received to notify that a replenishment is required. This notification only occurs if the data contains key="sender" with value="MG"
        See Also:
        Constant Field Values
      • TYPE_TRANSACTION_NOTIFICATION

        public static final String TYPE_TRANSACTION_NOTIFICATION
        A message is received to notify that a new transaction has been performed recently. This notification only occurs if the data contains key="sender" with value="TNS"
        See Also:
        Constant Field Values
      • TYPE_AUTHN

        public static final String TYPE_AUTHN
        The message received is of an Authn type and has been processed by the SDK.
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static PushResponseKey[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PushResponseKey c : PushResponseKey.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PushResponseKey valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null