Package com.adyen.model.nexo
Enum TransactionType
- java.lang.Object
-
- java.lang.Enum<TransactionType>
-
- com.adyen.model.nexo.TransactionType
-
- All Implemented Interfaces:
Serializable,Comparable<TransactionType>
public enum TransactionType extends Enum<TransactionType>
Java class for TransactionType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TransactionType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Debit"/> <enumeration value="Credit"/> <enumeration value="ReverseDebit"/> <enumeration value="ReverseCredit"/> <enumeration value="OneTimeReservation"/> <enumeration value="CompletedDeffered"/> <enumeration value="FirstReservation"/> <enumeration value="UpdateReservation"/> <enumeration value="CompletedReservation"/> <enumeration value="CashAdvance"/> <enumeration value="IssuerInstalment"/> <enumeration value="Declined"/> <enumeration value="Failed"/> <enumeration value="Award"/> <enumeration value="ReverseAward"/> <enumeration value="Redemption"/> <enumeration value="ReverseRedemption"/> <enumeration value="Rebate"/> <enumeration value="ReverseRebate"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AWARDLoyalty Award TransactionCASH_ADVANCECash Advance transactions.COMPLETED_DEFFEREDOneTimeReservation transactions which have been completed by the Completion.COMPLETED_RESERVATIONReservation transactions which have been completed by the Completion.CREDITPayment Credit transactions (e.g.DEBITPayment Debit transactions (e.g.DECLINEDResultErrorConditionFAILEDResultErrorConditionFIRST_RESERVATIONOutstanding FirstReservation transactions, i.e.ISSUER_INSTALMENTIssuer instalment transactions.ONE_TIME_RESERVATIONOutstanding OneTimeReservation transactions, i.e.REBATELoyalty Rebate TransactionREDEMPTIONLoyalty Redemption TransactionREVERSE_AWARDLoyalty Reversal Award TransactionREVERSE_CREDITPayment Reversal Credit transactionsREVERSE_DEBITPayment Reversal Debit transactionsREVERSE_REBATELoyalty Reversal Rebate TransactionREVERSE_REDEMPTIONLoyalty Reversal Redemption TransactionUPDATE_RESERVATIONOutstanding UpdateReservation transactions, i.e.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TransactionTypefromValue(String v)From value transaction type.Stringvalue()Value string.static TransactionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TransactionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEBIT
public static final TransactionType DEBIT
Payment Debit transactions (e.g. if PaymentType is "Normal")
-
CREDIT
public static final TransactionType CREDIT
Payment Credit transactions (e.g. if PaymentType is "Refund")
-
REVERSE_DEBIT
public static final TransactionType REVERSE_DEBIT
Payment Reversal Debit transactions
-
REVERSE_CREDIT
public static final TransactionType REVERSE_CREDIT
Payment Reversal Credit transactions
-
ONE_TIME_RESERVATION
public static final TransactionType ONE_TIME_RESERVATION
Outstanding OneTimeReservation transactions, i.e. between OneTimeReservation and Completion
-
COMPLETED_DEFFERED
public static final TransactionType COMPLETED_DEFFERED
OneTimeReservation transactions which have been completed by the Completion.
-
FIRST_RESERVATION
public static final TransactionType FIRST_RESERVATION
Outstanding FirstReservation transactions, i.e. between FirstReservation and UpdateReservation or Completion
-
UPDATE_RESERVATION
public static final TransactionType UPDATE_RESERVATION
Outstanding UpdateReservation transactions, i.e. between UpdateReservation and UpdateReservation or Completion
-
COMPLETED_RESERVATION
public static final TransactionType COMPLETED_RESERVATION
Reservation transactions which have been completed by the Completion.
-
CASH_ADVANCE
public static final TransactionType CASH_ADVANCE
Cash Advance transactions.
-
ISSUER_INSTALMENT
public static final TransactionType ISSUER_INSTALMENT
Issuer instalment transactions.
-
DECLINED
public static final TransactionType DECLINED
ResultErrorCondition
-
FAILED
public static final TransactionType FAILED
ResultErrorCondition
-
AWARD
public static final TransactionType AWARD
Loyalty Award Transaction
-
REVERSE_AWARD
public static final TransactionType REVERSE_AWARD
Loyalty Reversal Award Transaction
-
REDEMPTION
public static final TransactionType REDEMPTION
Loyalty Redemption Transaction
-
REVERSE_REDEMPTION
public static final TransactionType REVERSE_REDEMPTION
Loyalty Reversal Redemption Transaction
-
REBATE
public static final TransactionType REBATE
Loyalty Rebate Transaction
-
REVERSE_REBATE
public static final TransactionType REVERSE_REBATE
Loyalty Reversal Rebate Transaction
-
-
Method Detail
-
values
public static TransactionType[] 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 (TransactionType c : TransactionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransactionType 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
-
value
public String value()
Value string.- Returns:
- the string
-
fromValue
public static TransactionType fromValue(String v)
From value transaction type.- Parameters:
v- the v- Returns:
- the transaction type
-
-