Package ru.moysklad.remap_1_2.entities
Enum TaxSystem
- java.lang.Object
-
- java.lang.Enum<TaxSystem>
-
- ru.moysklad.remap_1_2.entities.TaxSystem
-
- All Implemented Interfaces:
Serializable,Comparable<TaxSystem>
public enum TaxSystem extends Enum<TaxSystem>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GENERAL_TAX_SYSTEMPATENT_BASEDPRESUMPTIVE_TAX_SYSTEMSIMPLIFIED_TAX_SYSTEM_INCOMESIMPLIFIED_TAX_SYSTEM_INCOME_OUTCOMEUNIFIED_AGRICULTURAL_TAX
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TaxSystemvalueOf(String name)Returns the enum constant of this type with the specified name.static TaxSystem[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GENERAL_TAX_SYSTEM
public static final TaxSystem GENERAL_TAX_SYSTEM
-
SIMPLIFIED_TAX_SYSTEM_INCOME
public static final TaxSystem SIMPLIFIED_TAX_SYSTEM_INCOME
-
SIMPLIFIED_TAX_SYSTEM_INCOME_OUTCOME
public static final TaxSystem SIMPLIFIED_TAX_SYSTEM_INCOME_OUTCOME
-
UNIFIED_AGRICULTURAL_TAX
public static final TaxSystem UNIFIED_AGRICULTURAL_TAX
-
PRESUMPTIVE_TAX_SYSTEM
public static final TaxSystem PRESUMPTIVE_TAX_SYSTEM
-
PATENT_BASED
public static final TaxSystem PATENT_BASED
-
-
Method Detail
-
values
public static TaxSystem[] 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 (TaxSystem c : TaxSystem.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaxSystem 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
-
-