Package com.adyen.model.checkout
Enum CheckoutSessionInstallmentOption.PlansEnum
- java.lang.Object
-
- java.lang.Enum<CheckoutSessionInstallmentOption.PlansEnum>
-
- com.adyen.model.checkout.CheckoutSessionInstallmentOption.PlansEnum
-
- All Implemented Interfaces:
Serializable,Comparable<CheckoutSessionInstallmentOption.PlansEnum>
- Enclosing class:
- CheckoutSessionInstallmentOption
public static enum CheckoutSessionInstallmentOption.PlansEnum extends Enum<CheckoutSessionInstallmentOption.PlansEnum>
Gets or Sets plans
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CheckoutSessionInstallmentOption.PlansEnumfromValue(String value)StringgetValue()StringtoString()static CheckoutSessionInstallmentOption.PlansEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static CheckoutSessionInstallmentOption.PlansEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REGULAR
public static final CheckoutSessionInstallmentOption.PlansEnum REGULAR
-
REVOLVING
public static final CheckoutSessionInstallmentOption.PlansEnum REVOLVING
-
-
Method Detail
-
values
public static CheckoutSessionInstallmentOption.PlansEnum[] 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 (CheckoutSessionInstallmentOption.PlansEnum c : CheckoutSessionInstallmentOption.PlansEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CheckoutSessionInstallmentOption.PlansEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<CheckoutSessionInstallmentOption.PlansEnum>
-
fromValue
public static CheckoutSessionInstallmentOption.PlansEnum fromValue(String value)
-
-