public enum PaymentMethodGatewayApiMethod extends Enum<PaymentMethodGatewayApiMethod> implements org.apache.camel.util.component.ApiMethod
ApiMethod
Enumeration for com.braintreegateway.PaymentMethodGatewayEnum Constant and Description |
---|
CREATE |
DELETE |
FIND |
GRANT |
REVOKE |
UPDATE |
Modifier and Type | Method and 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.
|
public static final PaymentMethodGatewayApiMethod CREATE
public static final PaymentMethodGatewayApiMethod DELETE
public static final PaymentMethodGatewayApiMethod FIND
public static final PaymentMethodGatewayApiMethod GRANT
public static final PaymentMethodGatewayApiMethod REVOKE
public static final PaymentMethodGatewayApiMethod UPDATE
public static PaymentMethodGatewayApiMethod[] values()
for (PaymentMethodGatewayApiMethod c : PaymentMethodGatewayApiMethod.values()) System.out.println(c);
public static PaymentMethodGatewayApiMethod valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
getName
in interface org.apache.camel.util.component.ApiMethod
public Class<?> getResultType()
getResultType
in interface org.apache.camel.util.component.ApiMethod
public List<String> getArgNames()
getArgNames
in interface org.apache.camel.util.component.ApiMethod
public List<Class<?>> getArgTypes()
getArgTypes
in interface org.apache.camel.util.component.ApiMethod
public Method getMethod()
getMethod
in interface org.apache.camel.util.component.ApiMethod
Apache Camel