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. if PaymentType is "Refund")DEBITPayment Debit transactions (e.g. if PaymentType is "Normal")DECLINEDResultErrorConditionFAILEDResultErrorConditionFIRST_RESERVATIONOutstanding FirstReservation transactions, i.e. between FirstReservation and UpdateReservation or CompletionISSUER_INSTALMENTIssuer instalment transactions.ONE_TIME_RESERVATIONOutstanding OneTimeReservation transactions, i.e. between OneTimeReservation and CompletionREBATELoyalty 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. between UpdateReservation and UpdateReservation or Completion
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TransactionTypefromValue(String v)Returns the enum constant matching the given string, ornullif no match is found.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
@SerializedName("Debit") public static final TransactionType DEBITPayment Debit transactions (e.g. if PaymentType is "Normal")
-
CREDIT
@SerializedName("Credit") public static final TransactionType CREDITPayment Credit transactions (e.g. if PaymentType is "Refund")
-
REVERSE_DEBIT
@SerializedName("ReverseDebit") public static final TransactionType REVERSE_DEBITPayment Reversal Debit transactions
-
REVERSE_CREDIT
@SerializedName("ReverseCredit") public static final TransactionType REVERSE_CREDITPayment Reversal Credit transactions
-
ONE_TIME_RESERVATION
@SerializedName("OneTimeReservation") public static final TransactionType ONE_TIME_RESERVATIONOutstanding OneTimeReservation transactions, i.e. between OneTimeReservation and Completion
-
COMPLETED_DEFFERED
@SerializedName("CompletedDeffered") public static final TransactionType COMPLETED_DEFFEREDOneTimeReservation transactions which have been completed by the Completion.
-
FIRST_RESERVATION
@SerializedName("FirstReservation") public static final TransactionType FIRST_RESERVATIONOutstanding FirstReservation transactions, i.e. between FirstReservation and UpdateReservation or Completion
-
UPDATE_RESERVATION
@SerializedName("UpdateReservation") public static final TransactionType UPDATE_RESERVATIONOutstanding UpdateReservation transactions, i.e. between UpdateReservation and UpdateReservation or Completion
-
COMPLETED_RESERVATION
@SerializedName("CompletedReservation") public static final TransactionType COMPLETED_RESERVATIONReservation transactions which have been completed by the Completion.
-
CASH_ADVANCE
@SerializedName("CashAdvance") public static final TransactionType CASH_ADVANCECash Advance transactions.
-
ISSUER_INSTALMENT
@SerializedName("IssuerInstalment") public static final TransactionType ISSUER_INSTALMENTIssuer instalment transactions.
-
DECLINED
@SerializedName("Declined") public static final TransactionType DECLINEDResultErrorCondition
-
FAILED
@SerializedName("Failed") public static final TransactionType FAILEDResultErrorCondition
-
AWARD
@SerializedName("Award") public static final TransactionType AWARDLoyalty Award Transaction
-
REVERSE_AWARD
@SerializedName("ReverseAward") public static final TransactionType REVERSE_AWARDLoyalty Reversal Award Transaction
-
REDEMPTION
@SerializedName("Redemption") public static final TransactionType REDEMPTIONLoyalty Redemption Transaction
-
REVERSE_REDEMPTION
@SerializedName("ReverseRedemption") public static final TransactionType REVERSE_REDEMPTIONLoyalty Reversal Redemption Transaction
-
REBATE
@SerializedName("Rebate") public static final TransactionType REBATELoyalty Rebate Transaction
-
REVERSE_REBATE
@SerializedName("ReverseRebate") public static final TransactionType REVERSE_REBATELoyalty 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)
Returns the enum constant matching the given string, ornullif no match is found.- Parameters:
v- string value- Returns:
- the TransactionType, or
nullif no match is found.
-
-