Enum SoleProprietorship.VatAbsenceReasonEnum
- java.lang.Object
-
- java.lang.Enum<SoleProprietorship.VatAbsenceReasonEnum>
-
- com.adyen.model.legalentitymanagement.SoleProprietorship.VatAbsenceReasonEnum
-
- All Implemented Interfaces:
Serializable,Comparable<SoleProprietorship.VatAbsenceReasonEnum>
- Enclosing class:
- SoleProprietorship
public static enum SoleProprietorship.VatAbsenceReasonEnum extends Enum<SoleProprietorship.VatAbsenceReasonEnum>
The reason for not providing a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BELOWTAXTHRESHOLDINDUSTRYEXEMPTION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SoleProprietorship.VatAbsenceReasonEnumfromValue(String value)StringgetValue()StringtoString()static SoleProprietorship.VatAbsenceReasonEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static SoleProprietorship.VatAbsenceReasonEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INDUSTRYEXEMPTION
public static final SoleProprietorship.VatAbsenceReasonEnum INDUSTRYEXEMPTION
-
BELOWTAXTHRESHOLD
public static final SoleProprietorship.VatAbsenceReasonEnum BELOWTAXTHRESHOLD
-
-
Method Detail
-
values
public static SoleProprietorship.VatAbsenceReasonEnum[] 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 (SoleProprietorship.VatAbsenceReasonEnum c : SoleProprietorship.VatAbsenceReasonEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoleProprietorship.VatAbsenceReasonEnum 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<SoleProprietorship.VatAbsenceReasonEnum>
-
fromValue
public static SoleProprietorship.VatAbsenceReasonEnum fromValue(String value)
-
-