Serializable, Comparable<BusinessType>public enum BusinessType extends Enum<BusinessType>
| Enum Constant | Description |
|---|---|
AESTHETIC_SALON |
|
CONSULTING |
|
DIGITAL_SALES |
|
OTHER |
|
PRODUCT_SALES |
|
TEXTILES |
|
TRAVEL |
| Modifier and Type | Method | Description |
|---|---|---|
static BusinessType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static BusinessType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName("textiles")
public static final BusinessType TEXTILES
@SerializedName("product_sales")
public static final BusinessType PRODUCT_SALES
@SerializedName("consulting")
public static final BusinessType CONSULTING
@SerializedName("travel")
public static final BusinessType TRAVEL
@SerializedName("digital_sales")
public static final BusinessType DIGITAL_SALES
@SerializedName("aesthetic_salon")
public static final BusinessType AESTHETIC_SALON
@SerializedName("other")
public static final BusinessType OTHER
public static BusinessType[] values()
for (BusinessType c : BusinessType.values()) System.out.println(c);
public static BusinessType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018 The Apache Software Foundation. All rights reserved.