Enum MerchantAccountGatewayApiMethod
- java.lang.Object
-
- java.lang.Enum<MerchantAccountGatewayApiMethod>
-
- org.apache.camel.component.braintree.internal.MerchantAccountGatewayApiMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<MerchantAccountGatewayApiMethod>
,org.apache.camel.support.component.ApiMethod
public enum MerchantAccountGatewayApiMethod extends Enum<MerchantAccountGatewayApiMethod> implements org.apache.camel.support.component.ApiMethod
CamelApiMethod
Enumeration for com.braintreegateway.MerchantAccountGateway
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
CREATE
CREATE_FOR_CURRENCY
FETCH_MERCHANT_ACCOUNTS
FIND
UPDATE
-
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 MerchantAccountGatewayApiMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static MerchantAccountGatewayApiMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final MerchantAccountGatewayApiMethod ALL
-
CREATE
public static final MerchantAccountGatewayApiMethod CREATE
-
CREATE_FOR_CURRENCY
public static final MerchantAccountGatewayApiMethod CREATE_FOR_CURRENCY
-
FETCH_MERCHANT_ACCOUNTS
public static final MerchantAccountGatewayApiMethod FETCH_MERCHANT_ACCOUNTS
-
FIND
public static final MerchantAccountGatewayApiMethod FIND
-
UPDATE
public static final MerchantAccountGatewayApiMethod UPDATE
-
-
Method Detail
-
values
public static MerchantAccountGatewayApiMethod[] 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 (MerchantAccountGatewayApiMethod c : MerchantAccountGatewayApiMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MerchantAccountGatewayApiMethod 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
-
-