public enum PaymentsPaymentAdviceCode extends Enum<PaymentsPaymentAdviceCode>
| Enum Constant and Description |
|---|
_UNKNOWN
Unknown values will be mapped by this enum member
|
PAYMENTADVICE_01
For Mastercard, expired card account upgrade or portfolio sale conversion.
|
PAYMENTADVICE_02
For Mastercard, over credit limit or insufficient funds.
|
PAYMENTADVICE_03
For Mastercard, account closed as fraudulent.
|
PAYMENTADVICE_21
For Mastercard, the card holder has been unsuccessful at canceling recurring payment through merchant.
|
| Modifier and Type | Method and Description |
|---|---|
static PaymentsPaymentAdviceCode |
constructFromString(String toConvert)
Returns the enum member associated with the given string value.
|
static PaymentsPaymentAdviceCode |
fromString(String toConvert)
Returns the enum member associated with the given string value.
|
String |
toString()
Get string representation of this enum.
|
static List<String> |
toValue(List<PaymentsPaymentAdviceCode> toConvert)
Convert list of PaymentsPaymentAdviceCode values to list of string values.
|
String |
value()
Returns the string value associated with the enum member.
|
static PaymentsPaymentAdviceCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentsPaymentAdviceCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentsPaymentAdviceCode PAYMENTADVICE_01
public static final PaymentsPaymentAdviceCode PAYMENTADVICE_02
public static final PaymentsPaymentAdviceCode PAYMENTADVICE_03
public static final PaymentsPaymentAdviceCode PAYMENTADVICE_21
public static final PaymentsPaymentAdviceCode _UNKNOWN
public static PaymentsPaymentAdviceCode[] values()
for (PaymentsPaymentAdviceCode c : PaymentsPaymentAdviceCode.values()) System.out.println(c);
public static PaymentsPaymentAdviceCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static PaymentsPaymentAdviceCode constructFromString(String toConvert) throws IOException
toConvert - String value to get enum member.IOException - when provided value is not mapped to any enum member.public static PaymentsPaymentAdviceCode fromString(String toConvert)
toConvert - String value to get enum member.public String value()
public String toString()
toString in class Enum<PaymentsPaymentAdviceCode>public static List<String> toValue(List<PaymentsPaymentAdviceCode> toConvert)
toConvert - The list of PaymentsPaymentAdviceCode values to convert.Copyright © 2025. All rights reserved.