Package com.adyen.model.transfers
Enum Transaction.TypeEnum
- java.lang.Object
-
- java.lang.Enum<Transaction.TypeEnum>
-
- com.adyen.model.transfers.Transaction.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Transaction.TypeEnum>
- Enclosing class:
- Transaction
public static enum Transaction.TypeEnum extends Enum<Transaction.TypeEnum>
The type of the transaction. Possible values: **payment**, **capture**, **captureReversal**, **refund** **refundReversal**, **chargeback**, **chargebackReversal**, **secondChargeback**, **atmWithdrawal**, **atmWithdrawalReversal**, **internalTransfer**, **manualCorrection**, **invoiceDeduction**, **depositCorrection**, **bankTransfer**, **miscCost**, **paymentCost**, **fee**
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransaction.TypeEnum.Adapter
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Transaction.TypeEnumfromValue(String value)StringgetValue()StringtoString()static Transaction.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Transaction.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ATMWITHDRAWAL
public static final Transaction.TypeEnum ATMWITHDRAWAL
-
ATMWITHDRAWALREVERSAL
public static final Transaction.TypeEnum ATMWITHDRAWALREVERSAL
-
BALANCEADJUSTMENT
public static final Transaction.TypeEnum BALANCEADJUSTMENT
-
BALANCEROLLOVER
public static final Transaction.TypeEnum BALANCEROLLOVER
-
BANKTRANSFER
public static final Transaction.TypeEnum BANKTRANSFER
-
CAPTURE
public static final Transaction.TypeEnum CAPTURE
-
CAPTUREREVERSAL
public static final Transaction.TypeEnum CAPTUREREVERSAL
-
CHARGEBACK
public static final Transaction.TypeEnum CHARGEBACK
-
CHARGEBACKREVERSAL
public static final Transaction.TypeEnum CHARGEBACKREVERSAL
-
DEPOSITCORRECTION
public static final Transaction.TypeEnum DEPOSITCORRECTION
-
FEE
public static final Transaction.TypeEnum FEE
-
GRANT
public static final Transaction.TypeEnum GRANT
-
INTERNALTRANSFER
public static final Transaction.TypeEnum INTERNALTRANSFER
-
INVOICEDEDUCTION
public static final Transaction.TypeEnum INVOICEDEDUCTION
-
LEFTOVER
public static final Transaction.TypeEnum LEFTOVER
-
MANUALCORRECTION
public static final Transaction.TypeEnum MANUALCORRECTION
-
MISCCOST
public static final Transaction.TypeEnum MISCCOST
-
PAYMENT
public static final Transaction.TypeEnum PAYMENT
-
PAYMENTCOST
public static final Transaction.TypeEnum PAYMENTCOST
-
REFUND
public static final Transaction.TypeEnum REFUND
-
REFUNDREVERSAL
public static final Transaction.TypeEnum REFUNDREVERSAL
-
REPAYMENT
public static final Transaction.TypeEnum REPAYMENT
-
RESERVEADJUSTMENT
public static final Transaction.TypeEnum RESERVEADJUSTMENT
-
SECONDCHARGEBACK
public static final Transaction.TypeEnum SECONDCHARGEBACK
-
-
Method Detail
-
values
public static Transaction.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 (Transaction.TypeEnum c : Transaction.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 Transaction.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<Transaction.TypeEnum>
-
fromValue
public static Transaction.TypeEnum fromValue(String value)
-
-