Package com.adyen.model.checkout
Enum Installments.PlanEnum
- java.lang.Object
-
- java.lang.Enum<Installments.PlanEnum>
-
- com.adyen.model.checkout.Installments.PlanEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Installments.PlanEnum>
- Enclosing class:
- Installments
public static enum Installments.PlanEnum extends Enum<Installments.PlanEnum>
The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan). and [Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico). By default, this is set to **regular**.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUYNOW_PAYLATERINTERES_REFUND_PRCTGINTEREST_BONUSNOINTERES_REFUND_PRCTGNOINTEREST_BONUSREFUND_PRCTGREGULARREVOLVINGWITH_INTEREST
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Installments.PlanEnumfromValue(String value)StringgetValue()StringtoString()static Installments.PlanEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Installments.PlanEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUYNOW_PAYLATER
public static final Installments.PlanEnum BUYNOW_PAYLATER
-
INTERES_REFUND_PRCTG
public static final Installments.PlanEnum INTERES_REFUND_PRCTG
-
INTEREST_BONUS
public static final Installments.PlanEnum INTEREST_BONUS
-
NOINTERES_REFUND_PRCTG
public static final Installments.PlanEnum NOINTERES_REFUND_PRCTG
-
NOINTEREST_BONUS
public static final Installments.PlanEnum NOINTEREST_BONUS
-
REFUND_PRCTG
public static final Installments.PlanEnum REFUND_PRCTG
-
REGULAR
public static final Installments.PlanEnum REGULAR
-
REVOLVING
public static final Installments.PlanEnum REVOLVING
-
WITH_INTEREST
public static final Installments.PlanEnum WITH_INTEREST
-
-
Method Detail
-
values
public static Installments.PlanEnum[] 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 (Installments.PlanEnum c : Installments.PlanEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Installments.PlanEnum 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<Installments.PlanEnum>
-
fromValue
public static Installments.PlanEnum fromValue(String value)
-
-