Package com.adyen.model.checkout
Enum KlarnaDetails.TypeEnum
- java.lang.Object
-
- java.lang.Enum<KlarnaDetails.TypeEnum>
-
- com.adyen.model.checkout.KlarnaDetails.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<KlarnaDetails.TypeEnum>
- Enclosing class:
- KlarnaDetails
public static enum KlarnaDetails.TypeEnum extends Enum<KlarnaDetails.TypeEnum>
**klarna**
-
-
Enum Constant Summary
Enum Constants Enum Constant Description KLARNAKLARNA_ACCOUNTKLARNA_B2BKLARNA_PAYNOWKLARNAPAYMENTSKLARNAPAYMENTS_ACCOUNTKLARNAPAYMENTS_B2B
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KlarnaDetails.TypeEnumfromValue(String value)StringgetValue()StringtoString()static KlarnaDetails.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static KlarnaDetails.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KLARNA
public static final KlarnaDetails.TypeEnum KLARNA
-
KLARNAPAYMENTS
public static final KlarnaDetails.TypeEnum KLARNAPAYMENTS
-
KLARNAPAYMENTS_ACCOUNT
public static final KlarnaDetails.TypeEnum KLARNAPAYMENTS_ACCOUNT
-
KLARNAPAYMENTS_B2B
public static final KlarnaDetails.TypeEnum KLARNAPAYMENTS_B2B
-
KLARNA_PAYNOW
public static final KlarnaDetails.TypeEnum KLARNA_PAYNOW
-
KLARNA_ACCOUNT
public static final KlarnaDetails.TypeEnum KLARNA_ACCOUNT
-
KLARNA_B2B
public static final KlarnaDetails.TypeEnum KLARNA_B2B
-
-
Method Detail
-
values
public static KlarnaDetails.TypeEnum[] 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 (KlarnaDetails.TypeEnum c : KlarnaDetails.TypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KlarnaDetails.TypeEnum 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<KlarnaDetails.TypeEnum>
-
fromValue
public static KlarnaDetails.TypeEnum fromValue(String value)
-
-