Enum SubscriptionGatewayApiMethod
- java.lang.Object
-
- java.lang.Enum<SubscriptionGatewayApiMethod>
-
- org.apache.camel.component.braintree.internal.SubscriptionGatewayApiMethod
-
- All Implemented Interfaces:
Serializable,Comparable<SubscriptionGatewayApiMethod>,org.apache.camel.support.component.ApiMethod
public enum SubscriptionGatewayApiMethod extends Enum<SubscriptionGatewayApiMethod> implements org.apache.camel.support.component.ApiMethod
CamelApiMethodEnumeration for com.braintreegateway.SubscriptionGateway
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELCREATEDELETEFINDRETRYCHARGERETRYCHARGE_1RETRYCHARGE_2RETRYCHARGE_3SEARCHUPDATE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getArgNames()List<Class<?>>getArgTypes()MethodgetMethod()StringgetName()Class<?>getResultType()static SubscriptionGatewayApiMethodvalueOf(String name)Returns the enum constant of this type with the specified name.static SubscriptionGatewayApiMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CANCEL
public static final SubscriptionGatewayApiMethod CANCEL
-
CREATE
public static final SubscriptionGatewayApiMethod CREATE
-
DELETE
public static final SubscriptionGatewayApiMethod DELETE
-
FIND
public static final SubscriptionGatewayApiMethod FIND
-
RETRYCHARGE
public static final SubscriptionGatewayApiMethod RETRYCHARGE
-
RETRYCHARGE_1
public static final SubscriptionGatewayApiMethod RETRYCHARGE_1
-
RETRYCHARGE_2
public static final SubscriptionGatewayApiMethod RETRYCHARGE_2
-
RETRYCHARGE_3
public static final SubscriptionGatewayApiMethod RETRYCHARGE_3
-
SEARCH
public static final SubscriptionGatewayApiMethod SEARCH
-
UPDATE
public static final SubscriptionGatewayApiMethod UPDATE
-
-
Method Detail
-
values
public static SubscriptionGatewayApiMethod[] 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 (SubscriptionGatewayApiMethod c : SubscriptionGatewayApiMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubscriptionGatewayApiMethod 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:
getNamein interfaceorg.apache.camel.support.component.ApiMethod
-
getResultType
public Class<?> getResultType()
- Specified by:
getResultTypein interfaceorg.apache.camel.support.component.ApiMethod
-
getArgNames
public List<String> getArgNames()
- Specified by:
getArgNamesin interfaceorg.apache.camel.support.component.ApiMethod
-
getArgTypes
public List<Class<?>> getArgTypes()
- Specified by:
getArgTypesin interfaceorg.apache.camel.support.component.ApiMethod
-
getMethod
public Method getMethod()
- Specified by:
getMethodin interfaceorg.apache.camel.support.component.ApiMethod
-
-