Enum SessionStatus

  • All Implemented Interfaces:
    Serializable, Comparable<SessionStatus>

    public enum SessionStatus
    extends Enum<SessionStatus>
    * `PENDING` - Session not started (user has not started session authorization) * `STARTED` - Session started (user started session authorization) * `COMPLETED` - Session completed (user completed session authorization, but FinTech must confirm it) * `ACTIVATED` - Session activated and ready to use * `DENIED` - User denied consent/payment authorization * `ERROR` - Error happened during the process
    • Method Detail

      • values

        public static SessionStatus[] 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 (SessionStatus c : SessionStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SessionStatus 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