Package io.moov.sdk.models.components
Enum BusinessPresence
- java.lang.Object
-
- java.lang.Enum<BusinessPresence>
-
- io.moov.sdk.models.components.BusinessPresence
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BusinessPresence>
public enum BusinessPresence extends java.lang.Enum<BusinessPresence>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMERCIAL_OFFICEHOME_BASEDMIXED_PRESENCEMOBILE_BUSINESSONLINE_ONLYRETAIL_STOREFRONT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<BusinessPresence>fromValue(java.lang.String value)java.lang.Stringvalue()static BusinessPresencevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BusinessPresence[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMERCIAL_OFFICE
public static final BusinessPresence COMMERCIAL_OFFICE
-
HOME_BASED
public static final BusinessPresence HOME_BASED
-
MIXED_PRESENCE
public static final BusinessPresence MIXED_PRESENCE
-
MOBILE_BUSINESS
public static final BusinessPresence MOBILE_BUSINESS
-
ONLINE_ONLY
public static final BusinessPresence ONLINE_ONLY
-
RETAIL_STOREFRONT
public static final BusinessPresence RETAIL_STOREFRONT
-
-
Method Detail
-
values
public static BusinessPresence[] 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 (BusinessPresence c : BusinessPresence.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BusinessPresence valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
value
public java.lang.String value()
-
fromValue
public static java.util.Optional<BusinessPresence> fromValue(java.lang.String value)
-
-