Enum PayPalShippingDisplayType
- java.lang.Object
-
- java.lang.Enum<PayPalShippingDisplayType>
-
- com.broadleafcommerce.paypal.micro.type.PayPalShippingDisplayType
-
- All Implemented Interfaces:
Serializable
,Comparable<PayPalShippingDisplayType>
public enum PayPalShippingDisplayType extends Enum<PayPalShippingDisplayType> implements Serializable
- Author:
- elbertbautista
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAPTURE_SHIPPING
NO_DISPLAY
PROVIDE_SHIPPING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PayPalShippingDisplayType
getByTypeKey(String typeKey)
String
getFriendlyName()
String
getTypeKey()
static PayPalShippingDisplayType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PayPalShippingDisplayType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROVIDE_SHIPPING
public static final PayPalShippingDisplayType PROVIDE_SHIPPING
-
NO_DISPLAY
public static final PayPalShippingDisplayType NO_DISPLAY
-
CAPTURE_SHIPPING
public static final PayPalShippingDisplayType CAPTURE_SHIPPING
-
-
Method Detail
-
values
public static PayPalShippingDisplayType[] 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 (PayPalShippingDisplayType c : PayPalShippingDisplayType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PayPalShippingDisplayType 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
-
getByTypeKey
public static PayPalShippingDisplayType getByTypeKey(String typeKey)
-
getTypeKey
public String getTypeKey()
-
getFriendlyName
public String getFriendlyName()
-
-