Enum ScaStatus

  • All Implemented Interfaces:
    Serializable, Comparable<ScaStatus>

    public enum ScaStatus
    extends Enum<ScaStatus>
    This data element is containing information about the status of the SCA method applied. The following codes are defined for this data type. * 'received': An authorisation or cancellation-authorisation resource has been created successfully. * 'psuIdentified': The PSU related to the authorisation or cancellation-authorisation resource has been identified. * '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': 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'. * 'unconfirmed': SCA is technically successfully finalised by the PSU, but the authorisation resource needs a confirmation command by the TPP yet. * 'started': The addressed SCA routine has been started. * 'finalised': The SCA routine has been finalised successfully (including a potential confirmation command). This is a final status of the authorisation resource. * 'failed': The SCA routine failed. This is a final status of the authorisation resource. * 'exempted': SCA was exempted for the related transaction, the related authorisation is successful. This is a final status of the authorisation resource.
    • Enum Constant Detail

      • RECEIVED

        public static final ScaStatus RECEIVED
      • PSUIDENTIFIED

        public static final ScaStatus PSUIDENTIFIED
      • PSUAUTHENTICATED

        public static final ScaStatus PSUAUTHENTICATED
      • SCAMETHODSELECTED

        public static final ScaStatus SCAMETHODSELECTED
      • STARTED

        public static final ScaStatus STARTED
      • UNCONFIRMED

        public static final ScaStatus UNCONFIRMED
      • FINALISED

        public static final ScaStatus FINALISED
      • FAILED

        public static final ScaStatus FAILED
      • EXEMPTED

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