Package com.restfb.types.send.buybutton
Enum RequestedUserInfoEnum
- java.lang.Object
-
- java.lang.Enum<RequestedUserInfoEnum>
-
- com.restfb.types.send.buybutton.RequestedUserInfoEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<RequestedUserInfoEnum>
public enum RequestedUserInfoEnum extends Enum<RequestedUserInfoEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description contact_email
contact_name
contact_phone
shipping_address
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RequestedUserInfoEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static RequestedUserInfoEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
shipping_address
public static final RequestedUserInfoEnum shipping_address
-
contact_name
public static final RequestedUserInfoEnum contact_name
-
contact_phone
public static final RequestedUserInfoEnum contact_phone
-
contact_email
public static final RequestedUserInfoEnum contact_email
-
-
Method Detail
-
values
public static RequestedUserInfoEnum[] 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 (RequestedUserInfoEnum c : RequestedUserInfoEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequestedUserInfoEnum 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
-
-