Package eu.europa.esig.dss.enumerations
Enum Class RoleOfPspOid
- All Implemented Interfaces:
OidBasedEnum
,OidDescription
,Serializable
,Comparable<RoleOfPspOid>
,Constable
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) }
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription-- 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 }-- 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 }-- 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 }-- 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
Modifier and TypeMethodDescriptionstatic RoleOfPspOid
Returns aRoleOfPspOid
by the given OIDThis method returns the literal description of the OIDgetOid()
This method returns the OID valuestatic RoleOfPspOid
Returns the enum constant of this class with the specified name.static RoleOfPspOid[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
-- 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
-- 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
-- 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 Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getOid
Description copied from interface:OidBasedEnum
This method returns the OID value- Specified by:
getOid
in interfaceOidBasedEnum
- Returns:
- the OID value
-
getDescription
Description copied from interface:OidDescription
This method returns the literal description of the OID- Specified by:
getDescription
in interfaceOidDescription
- Returns:
- the OID description
-
fromOid
Returns aRoleOfPspOid
by the given OID- Parameters:
oid
-String
to getRoleOfPspOid
for- Returns:
RoleOfPspOid
-