Package com.adyen.model
Enum AbstractPaymentRequest.FundingSourceEnum
- java.lang.Object
-
- java.lang.Enum<AbstractPaymentRequest.FundingSourceEnum>
-
- com.adyen.model.AbstractPaymentRequest.FundingSourceEnum
-
- All Implemented Interfaces:
Serializable,Comparable<AbstractPaymentRequest.FundingSourceEnum>
- Enclosing class:
- AbstractPaymentRequest<T extends AbstractPaymentRequest<T>>
public static enum AbstractPaymentRequest.FundingSourceEnum extends Enum<AbstractPaymentRequest.FundingSourceEnum>
How to process a combo card (for some Brazilian cards only). Allowed values: * debit * credit
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()StringtoString()static AbstractPaymentRequest.FundingSourceEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static AbstractPaymentRequest.FundingSourceEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEBIT
@SerializedName("debit") public static final AbstractPaymentRequest.FundingSourceEnum DEBIT
-
CREDIT
@SerializedName("credit") public static final AbstractPaymentRequest.FundingSourceEnum CREDIT
-
-
Method Detail
-
values
public static AbstractPaymentRequest.FundingSourceEnum[] 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 (AbstractPaymentRequest.FundingSourceEnum c : AbstractPaymentRequest.FundingSourceEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractPaymentRequest.FundingSourceEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<AbstractPaymentRequest.FundingSourceEnum>
-
-