Enum DocumentEntity.Overhead.DistributionType
- java.lang.Object
-
- java.lang.Enum<DocumentEntity.Overhead.DistributionType>
-
- ru.moysklad.remap_1_2.entities.documents.DocumentEntity.Overhead.DistributionType
-
- All Implemented Interfaces:
Serializable,Comparable<DocumentEntity.Overhead.DistributionType>
- Enclosing class:
- DocumentEntity.Overhead
public static enum DocumentEntity.Overhead.DistributionType extends Enum<DocumentEntity.Overhead.DistributionType>
Тип распределения накладных расходов
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DocumentEntity.Overhead.DistributionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DocumentEntity.Overhead.DistributionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
weight
public static final DocumentEntity.Overhead.DistributionType weight
Распределение накладных расходов по весу
-
volume
public static final DocumentEntity.Overhead.DistributionType volume
Распределение накладных расходов по объёму
-
price
public static final DocumentEntity.Overhead.DistributionType price
Распределение накладных расходов по цене
-
-
Method Detail
-
values
public static DocumentEntity.Overhead.DistributionType[] 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 (DocumentEntity.Overhead.DistributionType c : DocumentEntity.Overhead.DistributionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentEntity.Overhead.DistributionType 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
-
-