Package com.xendit.model
Enum CardlessCredit.PaymentType
- java.lang.Object
-
- java.lang.Enum<CardlessCredit.PaymentType>
-
- com.xendit.model.CardlessCredit.PaymentType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CardlessCredit.PaymentType>
- Enclosing class:
- CardlessCredit
public static enum CardlessCredit.PaymentType extends java.lang.Enum<CardlessCredit.PaymentType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SIX_MONTHSTHIRTY_DAYSTHREE_MONTHSTWELVE_MONTHS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetVal()static CardlessCredit.PaymentTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CardlessCredit.PaymentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
THIRTY_DAYS
public static final CardlessCredit.PaymentType THIRTY_DAYS
-
THREE_MONTHS
public static final CardlessCredit.PaymentType THREE_MONTHS
-
SIX_MONTHS
public static final CardlessCredit.PaymentType SIX_MONTHS
-
TWELVE_MONTHS
public static final CardlessCredit.PaymentType TWELVE_MONTHS
-
-
Method Detail
-
values
public static CardlessCredit.PaymentType[] 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 (CardlessCredit.PaymentType c : CardlessCredit.PaymentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CardlessCredit.PaymentType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getVal
public java.lang.String getVal()
-
-