Enum LegalEntityInfo.TypeEnum
- java.lang.Object
-
- java.lang.Enum<LegalEntityInfo.TypeEnum>
-
- com.adyen.model.legalentitymanagement.LegalEntityInfo.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<LegalEntityInfo.TypeEnum>
- Enclosing class:
- LegalEntityInfo
public static enum LegalEntityInfo.TypeEnum extends Enum<LegalEntityInfo.TypeEnum>
The type of legal entity. Possible values: **individual**, **organization**, **soleProprietorship**, or **trust**.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INDIVIDUALORGANIZATIONSOLEPROPRIETORSHIPTRUSTUNINCORPORATEDPARTNERSHIP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LegalEntityInfo.TypeEnumfromValue(String value)StringgetValue()StringtoString()static LegalEntityInfo.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static LegalEntityInfo.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 LegalEntityInfo.TypeEnum INDIVIDUAL
-
ORGANIZATION
public static final LegalEntityInfo.TypeEnum ORGANIZATION
-
SOLEPROPRIETORSHIP
public static final LegalEntityInfo.TypeEnum SOLEPROPRIETORSHIP
-
TRUST
public static final LegalEntityInfo.TypeEnum TRUST
-
UNINCORPORATEDPARTNERSHIP
public static final LegalEntityInfo.TypeEnum UNINCORPORATEDPARTNERSHIP
-
-
Method Detail
-
values
public static LegalEntityInfo.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 (LegalEntityInfo.TypeEnum c : LegalEntityInfo.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 LegalEntityInfo.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<LegalEntityInfo.TypeEnum>
-
fromValue
public static LegalEntityInfo.TypeEnum fromValue(String value)
-
-