Package eu.europa.esig.dss.enumerations
Enum RoleOfPspOid
- java.lang.Object
-
- java.lang.Enum<RoleOfPspOid>
-
- eu.europa.esig.dss.enumerations.RoleOfPspOid
-
- All Implemented Interfaces:
OidBasedEnum,OidDescription,Serializable,Comparable<RoleOfPspOid>
public enum RoleOfPspOid extends Enum<RoleOfPspOid> implements OidDescription
RoleOfPspOid ::= OBJECT IDENTIFIER -- Object Identifier arc for roles of payment service providers -- defined in the present document etsi-psd2-roles OBJECT IDENTIFIER ::={ itu-t(0) identified-organization(4) etsi(0) psd2(19495) id-roles(1) }
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PSP_AI-- Account Information Service Provider (PSP_AI) role id-psd2-role-psp-ai OBJECT IDENTIFIER ::= { itu-t(0) identified-organization(4) etsi(0) psd2(19495) id-roles(1) 3 }PSP_AS-- Account Servicing Payment Service Provider (PSP_AS) role id-psd2-role-psp-as OBJECT IDENTIFIER ::= { itu-t(0) identified-organization(4) etsi(0) psd2(19495) id-roles(1) 1 }PSP_IC-- Payment Service Provider issuing card-based payment instruments (PSP_IC) role id-psd2-role-psp-ic OBJECT IDENTIFIER ::= { itu-t(0) identified-organization(4) etsi(0) psd2(19495) id-roles(1) 4 }PSP_PI-- Payment Initiation Service Provider (PSP_PI) role id-psd2-role-psp-pi OBJECT IDENTIFIER ::= { itu-t(0) identified-organization(4) etsi(0) psd2(19495) id-roles(1) 2 }
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RoleOfPspOidfromOid(String oid)Returns aRoleOfPspOidby the given OIDStringgetDescription()This method returns the literal description of the OIDStringgetOid()This method returns the OID valuestatic RoleOfPspOidvalueOf(String name)Returns the enum constant of this type with the specified name.static RoleOfPspOid[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PSP_AS
public static final RoleOfPspOid PSP_AS
-- Account Servicing Payment Service Provider (PSP_AS) role id-psd2-role-psp-as OBJECT IDENTIFIER ::= { itu-t(0) identified-organization(4) etsi(0) psd2(19495) id-roles(1) 1 }
-
PSP_PI
public static final RoleOfPspOid PSP_PI
-- Payment Initiation Service Provider (PSP_PI) role id-psd2-role-psp-pi OBJECT IDENTIFIER ::= { itu-t(0) identified-organization(4) etsi(0) psd2(19495) id-roles(1) 2 }
-
PSP_AI
public static final RoleOfPspOid PSP_AI
-- Account Information Service Provider (PSP_AI) role id-psd2-role-psp-ai OBJECT IDENTIFIER ::= { itu-t(0) identified-organization(4) etsi(0) psd2(19495) id-roles(1) 3 }
-
PSP_IC
public static final RoleOfPspOid PSP_IC
-- Payment Service Provider issuing card-based payment instruments (PSP_IC) role id-psd2-role-psp-ic OBJECT IDENTIFIER ::= { itu-t(0) identified-organization(4) etsi(0) psd2(19495) id-roles(1) 4 }
-
-
Method Detail
-
values
public static RoleOfPspOid[] 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 (RoleOfPspOid c : RoleOfPspOid.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RoleOfPspOid 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
-
getOid
public String getOid()
Description copied from interface:OidBasedEnumThis method returns the OID value- Specified by:
getOidin interfaceOidBasedEnum- Returns:
- the OID value
-
getDescription
public String getDescription()
Description copied from interface:OidDescriptionThis method returns the literal description of the OID- Specified by:
getDescriptionin interfaceOidDescription- Returns:
- the OID description
-
fromOid
public static RoleOfPspOid fromOid(String oid)
Returns aRoleOfPspOidby the given OID- Parameters:
oid-Stringto getRoleOfPspOidfor- Returns:
RoleOfPspOid
-
-