Package de.adorsys.psd2.xs2a.web
Enum Psd2PaymentMethodNameConstant
- java.lang.Object
-
- java.lang.Enum<Psd2PaymentMethodNameConstant>
-
- de.adorsys.psd2.xs2a.web.Psd2PaymentMethodNameConstant
-
- All Implemented Interfaces:
Serializable,Comparable<Psd2PaymentMethodNameConstant>
public enum Psd2PaymentMethodNameConstant extends Enum<Psd2PaymentMethodNameConstant>
Enumerator for storing all PIS REST controller method names (i.e. method names fromPaymentApi.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Optional<Psd2PaymentMethodNameConstant>getByValue(String name)StringgetValue()static Psd2PaymentMethodNameConstantvalueOf(String name)Returns the enum constant of this type with the specified name.static Psd2PaymentMethodNameConstant[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CANCEL_PAYMENT
public static final Psd2PaymentMethodNameConstant CANCEL_PAYMENT
-
GET_PAYMENT_CANCELLATION_SCA_STATUS
public static final Psd2PaymentMethodNameConstant GET_PAYMENT_CANCELLATION_SCA_STATUS
-
GET_PAYMENT_INFORMATION
public static final Psd2PaymentMethodNameConstant GET_PAYMENT_INFORMATION
-
GET_PAYMENT_INITIATION_AUTHORISATION
public static final Psd2PaymentMethodNameConstant GET_PAYMENT_INITIATION_AUTHORISATION
-
GET_PAYMENT_INITIATION_CANCELLATION_AUTH_INFO
public static final Psd2PaymentMethodNameConstant GET_PAYMENT_INITIATION_CANCELLATION_AUTH_INFO
-
GET_PAYMENT_INITIATION_SCA_STATUS
public static final Psd2PaymentMethodNameConstant GET_PAYMENT_INITIATION_SCA_STATUS
-
GET_PAYMENT_INITIATION_STATUS
public static final Psd2PaymentMethodNameConstant GET_PAYMENT_INITIATION_STATUS
-
INITIATE_PAYMENT
public static final Psd2PaymentMethodNameConstant INITIATE_PAYMENT
-
START_PAYMENT_AUTHORISATION
public static final Psd2PaymentMethodNameConstant START_PAYMENT_AUTHORISATION
-
START_PAYMENT_INITIATION_CANCELLATION_AUTH
public static final Psd2PaymentMethodNameConstant START_PAYMENT_INITIATION_CANCELLATION_AUTH
-
UPDATE_PAYMENT_CANCELLATION_PSU_DATA
public static final Psd2PaymentMethodNameConstant UPDATE_PAYMENT_CANCELLATION_PSU_DATA
-
UPDATE_PAYMENT_PSU_DATA
public static final Psd2PaymentMethodNameConstant UPDATE_PAYMENT_PSU_DATA
-
-
Method Detail
-
values
public static Psd2PaymentMethodNameConstant[] 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 (Psd2PaymentMethodNameConstant c : Psd2PaymentMethodNameConstant.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Psd2PaymentMethodNameConstant 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 nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
getByValue
public static Optional<Psd2PaymentMethodNameConstant> getByValue(String name)
-
-