Package com.adyen.model.nexo
Enum GenericProfileType
- java.lang.Object
-
- java.lang.Enum<GenericProfileType>
-
- com.adyen.model.nexo.GenericProfileType
-
- All Implemented Interfaces:
Serializable,Comparable<GenericProfileType>
public enum GenericProfileType extends Enum<GenericProfileType>
Java class for GenericProfileType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="GenericProfileType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Basic"/> <enumeration value="Standard"/> <enumeration value="Extended"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BASICProtocol services that needs to be implemented by all the Sale and POIEXTENDEDComplete Protocol servicesSTANDARDProtocol services involving interaction between Sale System and POI System as devices shared between the two Systems.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GenericProfileTypefromValue(String v)From value generic profile type.Stringvalue()Value string.static GenericProfileTypevalueOf(String name)Returns the enum constant of this type with the specified name.static GenericProfileType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASIC
public static final GenericProfileType BASIC
Protocol services that needs to be implemented by all the Sale and POI
-
STANDARD
public static final GenericProfileType STANDARD
Protocol services involving interaction between Sale System and POI System as devices shared between the two Systems.
-
EXTENDED
public static final GenericProfileType EXTENDED
Complete Protocol services
-
-
Method Detail
-
values
public static GenericProfileType[] 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 (GenericProfileType c : GenericProfileType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GenericProfileType 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
-
value
public String value()
Value string.- Returns:
- the string
-
fromValue
public static GenericProfileType fromValue(String v)
From value generic profile type.- Parameters:
v- the v- Returns:
- the generic profile type
-
-