Package com.adyen.model.transferwebhooks
Enum PartyIdentification.TypeEnum
- java.lang.Object
-
- java.lang.Enum<PartyIdentification.TypeEnum>
-
- com.adyen.model.transferwebhooks.PartyIdentification.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<PartyIdentification.TypeEnum>
- Enclosing class:
- PartyIdentification
public static enum PartyIdentification.TypeEnum extends Enum<PartyIdentification.TypeEnum>
The type of entity that owns the bank account or card. Possible values: **individual**, **organization**, or **unknown**. Required when `category` is **card**. In this case, the value must be **individual**.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INDIVIDUALORGANIZATIONUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PartyIdentification.TypeEnumfromValue(String value)StringgetValue()StringtoString()static PartyIdentification.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static PartyIdentification.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INDIVIDUAL
public static final PartyIdentification.TypeEnum INDIVIDUAL
-
ORGANIZATION
public static final PartyIdentification.TypeEnum ORGANIZATION
-
UNKNOWN
public static final PartyIdentification.TypeEnum UNKNOWN
-
-
Method Detail
-
values
public static PartyIdentification.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 (PartyIdentification.TypeEnum c : PartyIdentification.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 PartyIdentification.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<PartyIdentification.TypeEnum>
-
fromValue
public static PartyIdentification.TypeEnum fromValue(String value)
-
-