Package com.adyen.model.management
Enum TransactionDescriptionInfo.TypeEnum
- java.lang.Object
-
- java.lang.Enum<TransactionDescriptionInfo.TypeEnum>
-
- com.adyen.model.management.TransactionDescriptionInfo.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<TransactionDescriptionInfo.TypeEnum>
- Enclosing class:
- TransactionDescriptionInfo
public static enum TransactionDescriptionInfo.TypeEnum extends Enum<TransactionDescriptionInfo.TypeEnum>
The type of transaction description you want to use: - **fixed**: The transaction description set in this request is used for all payments with this payment method. - **append**: The transaction description set in this request is used as a base for all payments with this payment method. The [transaction description set in the request to process the payment](https://docs.adyen.com/api-explorer/Checkout/70/post/sessions#request-shopperStatement) is appended to this base description. Note that if the combined length exceeds 22 characters, banks may truncate the string. - **dynamic**: Only the [transaction description set in the request to process the payment](https://docs.adyen.com/api-explorer/Checkout/70/post/sessions#request-shopperStatement) is used for payments with this payment method.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TransactionDescriptionInfo.TypeEnumfromValue(String value)StringgetValue()StringtoString()static TransactionDescriptionInfo.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static TransactionDescriptionInfo.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
APPEND
public static final TransactionDescriptionInfo.TypeEnum APPEND
-
DYNAMIC
public static final TransactionDescriptionInfo.TypeEnum DYNAMIC
-
FIXED
public static final TransactionDescriptionInfo.TypeEnum FIXED
-
-
Method Detail
-
values
public static TransactionDescriptionInfo.TypeEnum[] 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 (TransactionDescriptionInfo.TypeEnum c : TransactionDescriptionInfo.TypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransactionDescriptionInfo.TypeEnum 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<TransactionDescriptionInfo.TypeEnum>
-
fromValue
public static TransactionDescriptionInfo.TypeEnum fromValue(String value)
-
-