Enum ScaStatus

    • Enum Constant Detail

      • RECEIVED

        public static final ScaStatus RECEIVED
        An authorisation or cancellation-authorisation resource has been created successfully.
      • PSUIDENTIFIED

        public static final ScaStatus PSUIDENTIFIED
        The PSU related to the authorisation or cancellation-authorisation resource has been identified.
      • PSUAUTHENTICATED

        public static final ScaStatus PSUAUTHENTICATED
        The PSU related to the authorisation or cancellation-authorisation resource has been identified and authenticated e.g. by a password or by an access token.
      • SCAMETHODSELECTED

        public static final ScaStatus SCAMETHODSELECTED
        The PSU/TPP has selected the related SCA routine. If the SCA method is chosen implicitly since only one SCA method is available, then this is the first status to be reported instead of RECEIVED
      • STARTED

        public static final ScaStatus STARTED
        The addressed SCA routine has been started.
      • FINALISED

        public static final ScaStatus FINALISED
        The SCA routine has been finalised successfully.
      • FAILED

        public static final ScaStatus FAILED
        The SCA routine failed.
      • EXEMPTED

        public static final ScaStatus EXEMPTED
        SCA was exempted for the related transaction, the related authorisation is successful.
      • UNCONFIRMED

        public static final ScaStatus UNCONFIRMED
        Authorisation is technically successfully finalised by the PSU, but the authorisation resource needs a confirmation command by the TPP yet
    • Method Detail

      • values

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

        public static ScaStatus 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
      • fromValue

        public static ScaStatus fromValue​(String text)
        Maps textual representation to ScaStatus enum-value. Mapping is performed case-insensitive.
        Parameters:
        text - - text to be mapped.
        Returns:
        Enum value mapped. Null otherwise.
      • isFinalisedStatus

        public boolean isFinalisedStatus()
      • isNotFinalisedStatus

        public boolean isNotFinalisedStatus()
      • getValue

        public String getValue()
        Provides a textual representation to be used i.e. in JSON-Serialization.
        Returns:
        a textual representation according to Berlin Group Implementation Guidelines