Enum PaymentMethodGatewayApiMethod
- java.lang.Object
-
- java.lang.Enum<PaymentMethodGatewayApiMethod>
-
- org.apache.camel.component.braintree.internal.PaymentMethodGatewayApiMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<PaymentMethodGatewayApiMethod>
,org.apache.camel.support.component.ApiMethod
public enum PaymentMethodGatewayApiMethod extends Enum<PaymentMethodGatewayApiMethod> implements org.apache.camel.support.component.ApiMethod
CamelApiMethod
Enumeration for com.braintreegateway.PaymentMethodGateway
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getArgNames()
List<Class<?>>
getArgTypes()
Method
getMethod()
String
getName()
Class<?>
getResultType()
static PaymentMethodGatewayApiMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static PaymentMethodGatewayApiMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE
public static final PaymentMethodGatewayApiMethod CREATE
-
DELETE
public static final PaymentMethodGatewayApiMethod DELETE
-
DELETE_1
public static final PaymentMethodGatewayApiMethod DELETE_1
-
FIND
public static final PaymentMethodGatewayApiMethod FIND
-
GRANT
public static final PaymentMethodGatewayApiMethod GRANT
-
GRANT_1
public static final PaymentMethodGatewayApiMethod GRANT_1
-
REVOKE
public static final PaymentMethodGatewayApiMethod REVOKE
-
UPDATE
public static final PaymentMethodGatewayApiMethod UPDATE
-
-
Method Detail
-
values
public static PaymentMethodGatewayApiMethod[] 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 (PaymentMethodGatewayApiMethod c : PaymentMethodGatewayApiMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PaymentMethodGatewayApiMethod 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
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.apache.camel.support.component.ApiMethod
-
getResultType
public Class<?> getResultType()
- Specified by:
getResultType
in interfaceorg.apache.camel.support.component.ApiMethod
-
getArgNames
public List<String> getArgNames()
- Specified by:
getArgNames
in interfaceorg.apache.camel.support.component.ApiMethod
-
getArgTypes
public List<Class<?>> getArgTypes()
- Specified by:
getArgTypes
in interfaceorg.apache.camel.support.component.ApiMethod
-
getMethod
public Method getMethod()
- Specified by:
getMethod
in interfaceorg.apache.camel.support.component.ApiMethod
-
-