com.prowidesoftware.swift.model.mx.dic.PINFormat2Code Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pw-iso20022 Show documentation
Show all versions of pw-iso20022 Show documentation
Prowide Library for ISO 20022 messages
The newest version!
package com.prowidesoftware.swift.model.mx.dic;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for PINFormat2Code.
*
*
The following schema fragment specifies the expected content contained within this class.
*
{@code
*
*
*
*
*
*
*
*
*
* }
*
*/
@XmlType(name = "PINFormat2Code")
@XmlEnum
public enum PINFormat2Code {
/**
* PIN diversified with the card account number, conforming to the standard ISO 9564-2.
*
*/
@XmlEnumValue("ISO0")
ISO_0("ISO0"),
/**
* PIN completed with random padding characters, conforming to the standard ISO 9564-2.
*
*/
@XmlEnumValue("ISO1")
ISO_1("ISO1"),
/**
* PIN without diversification characters, conforming to the standard ISO 9564-2.
*
*/
@XmlEnumValue("ISO2")
ISO_2("ISO2"),
/**
* PIN diversified with the card account number and random characters, conforming to the standard ISO 9564-2.
*
*/
@XmlEnumValue("ISO3")
ISO_3("ISO3"),
/**
* PIN format used with AES encryption, conforming to the new ISO SC2 format.
*
*/
@XmlEnumValue("ISO4")
ISO_4("ISO4");
private final String value;
PINFormat2Code(String v) {
value = v;
}
public String value() {
return value;
}
public static PINFormat2Code fromValue(String v) {
for (PINFormat2Code c: PINFormat2Code.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy