Enum AccountReferenceType
- java.lang.Object
-
- java.lang.Enum<AccountReferenceType>
-
- de.adorsys.psd2.xs2a.core.profile.AccountReferenceType
-
- All Implemented Interfaces:
Serializable,Comparable<AccountReferenceType>
public enum AccountReferenceType extends Enum<AccountReferenceType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BBANIBANMASKED_PANMSISDNPAN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Optional<AccountReferenceType>getByValue(String name)StringgetFieldValue(AccountReference accountReference)intgetOrder()StringgetValue()voidsetFieldValue(AccountReference accountReference, String fieldValue)static AccountReferenceTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AccountReferenceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IBAN
public static final AccountReferenceType IBAN
-
BBAN
public static final AccountReferenceType BBAN
-
PAN
public static final AccountReferenceType PAN
-
MSISDN
public static final AccountReferenceType MSISDN
-
MASKED_PAN
public static final AccountReferenceType MASKED_PAN
-
-
Method Detail
-
values
public static AccountReferenceType[] 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 (AccountReferenceType c : AccountReferenceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccountReferenceType 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()
-
getOrder
public int getOrder()
-
getByValue
public static Optional<AccountReferenceType> getByValue(String name)
-
getFieldValue
public String getFieldValue(AccountReference accountReference)
-
setFieldValue
public void setFieldValue(AccountReference accountReference, String fieldValue)
-
-