Package com.adyen.model.nexo
Enum InstalmentType
- java.lang.Object
-
- java.lang.Enum<InstalmentType>
-
- com.adyen.model.nexo.InstalmentType
-
- All Implemented Interfaces:
Serializable,Comparable<InstalmentType>
public enum InstalmentType extends Enum<InstalmentType>
Java class for InstalmentType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="InstalmentType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="DeferredInstalments"/> <enumeration value="EqualInstalments"/> <enumeration value="InequalInstalments"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFERRED_INSTALMENTSThe payment of the service or goods is deferred.EQUAL_INSTALMENTSThe payment is split in several instalments of equal amounts.INEQUAL_INSTALMENTSThe payment is split in several instalments of different amounts.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstalmentTypefromValue(String v)From value instalment type.Stringvalue()Value string.static InstalmentTypevalueOf(String name)Returns the enum constant of this type with the specified name.static InstalmentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFERRED_INSTALMENTS
public static final InstalmentType DEFERRED_INSTALMENTS
The payment of the service or goods is deferred.
-
EQUAL_INSTALMENTS
public static final InstalmentType EQUAL_INSTALMENTS
The payment is split in several instalments of equal amounts.
-
INEQUAL_INSTALMENTS
public static final InstalmentType INEQUAL_INSTALMENTS
The payment is split in several instalments of different amounts.
-
-
Method Detail
-
values
public static InstalmentType[] 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 (InstalmentType c : InstalmentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstalmentType 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 InstalmentType fromValue(String v)
From value instalment type.- Parameters:
v- the v- Returns:
- the instalment type
-
-