Enum BraintreeApiName
- java.lang.Object
-
- java.lang.Enum<BraintreeApiName>
-
- org.apache.camel.component.braintree.internal.BraintreeApiName
-
- All Implemented Interfaces:
Serializable,Comparable<BraintreeApiName>,org.apache.camel.support.component.ApiName
public enum BraintreeApiName extends Enum<BraintreeApiName> implements org.apache.camel.support.component.ApiName
CamelApiNameEnumeration for Component Braintree
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDONADDRESSCLIENTTOKENCREDITCARDVERIFICATIONCUSTOMERDISCOUNTDISPUTEDOCUMENTUPLOADMERCHANTACCOUNTPAYMENTMETHODPAYMENTMETHODNONCEPLANREPORTSETTLEMENTBATCHSUMMARYSUBSCRIPTIONTRANSACTIONWEBHOOKNOTIFICATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BraintreeApiNamefromValue(String value)StringgetName()static BraintreeApiNamevalueOf(String name)Returns the enum constant of this type with the specified name.static BraintreeApiName[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADDON
public static final BraintreeApiName ADDON
-
ADDRESS
public static final BraintreeApiName ADDRESS
-
CLIENTTOKEN
public static final BraintreeApiName CLIENTTOKEN
-
CREDITCARDVERIFICATION
public static final BraintreeApiName CREDITCARDVERIFICATION
-
CUSTOMER
public static final BraintreeApiName CUSTOMER
-
DISCOUNT
public static final BraintreeApiName DISCOUNT
-
DISPUTE
public static final BraintreeApiName DISPUTE
-
DOCUMENTUPLOAD
public static final BraintreeApiName DOCUMENTUPLOAD
-
MERCHANTACCOUNT
public static final BraintreeApiName MERCHANTACCOUNT
-
PAYMENTMETHOD
public static final BraintreeApiName PAYMENTMETHOD
-
PAYMENTMETHODNONCE
public static final BraintreeApiName PAYMENTMETHODNONCE
-
PLAN
public static final BraintreeApiName PLAN
-
REPORT
public static final BraintreeApiName REPORT
-
SETTLEMENTBATCHSUMMARY
public static final BraintreeApiName SETTLEMENTBATCHSUMMARY
-
SUBSCRIPTION
public static final BraintreeApiName SUBSCRIPTION
-
TRANSACTION
public static final BraintreeApiName TRANSACTION
-
WEBHOOKNOTIFICATION
public static final BraintreeApiName WEBHOOKNOTIFICATION
-
-
Method Detail
-
values
public static BraintreeApiName[] 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 (BraintreeApiName c : BraintreeApiName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BraintreeApiName 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.ApiName
-
fromValue
public static BraintreeApiName fromValue(String value) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
-