Package io.moov.sdk.models.components
Enum FulfillmentTimeframe
- java.lang.Object
-
- java.lang.Enum<FulfillmentTimeframe>
-
- io.moov.sdk.models.components.FulfillmentTimeframe
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FulfillmentTimeframe>
public enum FulfillmentTimeframe extends java.lang.Enum<FulfillmentTimeframe>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IMMEDIATEOTHEROVER30_DAYSPRE_ORDERRECURRING_SCHEDULESCHEDULED_EVENTWITHIN30_DAYSWITHIN7_DAYS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<FulfillmentTimeframe>fromValue(java.lang.String value)java.lang.Stringvalue()static FulfillmentTimeframevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FulfillmentTimeframe[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IMMEDIATE
public static final FulfillmentTimeframe IMMEDIATE
-
OTHER
public static final FulfillmentTimeframe OTHER
-
OVER30_DAYS
public static final FulfillmentTimeframe OVER30_DAYS
-
PRE_ORDER
public static final FulfillmentTimeframe PRE_ORDER
-
RECURRING_SCHEDULE
public static final FulfillmentTimeframe RECURRING_SCHEDULE
-
SCHEDULED_EVENT
public static final FulfillmentTimeframe SCHEDULED_EVENT
-
WITHIN30_DAYS
public static final FulfillmentTimeframe WITHIN30_DAYS
-
WITHIN7_DAYS
public static final FulfillmentTimeframe WITHIN7_DAYS
-
-
Method Detail
-
values
public static FulfillmentTimeframe[] 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 (FulfillmentTimeframe c : FulfillmentTimeframe.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FulfillmentTimeframe 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<FulfillmentTimeframe> fromValue(java.lang.String value)
-
-