Package com.clover.sdk.v3.apps
Enum Code
- java.lang.Object
-
- java.lang.Enum<Code>
-
- com.clover.sdk.v3.apps.Code
-
- All Implemented Interfaces:
Parcelable
,Serializable
,Comparable<Code>
public enum Code extends Enum<Code> implements Parcelable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description static Parcelable.Creator<Code>
CREATOR
-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
static Code
valueOf(String name)
Returns the enum constant of this type with the specified name.static Code[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.void
writeToParcel(Parcel dest, int flags)
-
-
-
Enum Constant Detail
-
FULL_SERVICE_RESTAURANT
public static final Code FULL_SERVICE_RESTAURANT
-
QUICK_SERVICE_RESTAURANT
public static final Code QUICK_SERVICE_RESTAURANT
-
COFFEE_SHOP
public static final Code COFFEE_SHOP
-
BAKERY
public static final Code BAKERY
-
BAR
public static final Code BAR
-
FOOD_TRUCK
public static final Code FOOD_TRUCK
-
FROZEN_YOGURT
public static final Code FROZEN_YOGURT
-
PIZZA
public static final Code PIZZA
-
DELI
public static final Code DELI
-
OTHER_RESTAURANT
public static final Code OTHER_RESTAURANT
-
BOUTIQUE
public static final Code BOUTIQUE
-
CONVENIENCE_STORE
public static final Code CONVENIENCE_STORE
-
GROCERY
public static final Code GROCERY
-
LIQUOR_STORE
public static final Code LIQUOR_STORE
-
VAPE_SHOP
public static final Code VAPE_SHOP
-
JEWELRY
public static final Code JEWELRY
-
FLORIST
public static final Code FLORIST
-
OTHER_RETAIL
public static final Code OTHER_RETAIL
-
FITNESS
public static final Code FITNESS
-
SPA
public static final Code SPA
-
HAIR_SALON
public static final Code HAIR_SALON
-
HOME_AND_REPAIR
public static final Code HOME_AND_REPAIR
-
PROFESSIONAL_SERVICES
public static final Code PROFESSIONAL_SERVICES
-
CATERING
public static final Code CATERING
-
OTHER_SERVICE
public static final Code OTHER_SERVICE
-
-
Field Detail
-
CREATOR
public static final Parcelable.Creator<Code> CREATOR
-
-
Method Detail
-
values
public static Code[] 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 (Code c : Code.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Code 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
-
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceParcelable
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceParcelable
-
-