Package com.adyen.model.management
Enum TransactionDescriptionResponseInfo.TypeEnum
- java.lang.Object
-
- java.lang.Enum<TransactionDescriptionResponseInfo.TypeEnum>
-
- com.adyen.model.management.TransactionDescriptionResponseInfo.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<TransactionDescriptionResponseInfo.TypeEnum>
- Enclosing class:
- TransactionDescriptionResponseInfo
public static enum TransactionDescriptionResponseInfo.TypeEnum extends Enum<TransactionDescriptionResponseInfo.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 TransactionDescriptionResponseInfo.TypeEnumfromValue(String value)StringgetValue()StringtoString()static TransactionDescriptionResponseInfo.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static TransactionDescriptionResponseInfo.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 TransactionDescriptionResponseInfo.TypeEnum APPEND
-
DYNAMIC
public static final TransactionDescriptionResponseInfo.TypeEnum DYNAMIC
-
FIXED
public static final TransactionDescriptionResponseInfo.TypeEnum FIXED
-
-
Method Detail
-
values
public static TransactionDescriptionResponseInfo.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 (TransactionDescriptionResponseInfo.TypeEnum c : TransactionDescriptionResponseInfo.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 TransactionDescriptionResponseInfo.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<TransactionDescriptionResponseInfo.TypeEnum>
-
fromValue
public static TransactionDescriptionResponseInfo.TypeEnum fromValue(String value)
-
-