Package com.adyen.model.tapi
Enum PaymentType
- java.lang.Object
-
- java.lang.Enum<PaymentType>
-
- com.adyen.model.tapi.PaymentType
-
- All Implemented Interfaces:
Serializable,Comparable<PaymentType>
public enum PaymentType extends Enum<PaymentType>
Gets or Sets PaymentType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CASH_ADVANCECASH_DEPOSITCOMPLETIONFIRST_RESERVATIONINSTALMENTISSUER_INSTALMENTNORMALONE_TIME_RESERVATIONPAID_OUTRECURRINGREFUNDUPDATE_RESERVATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentTypefromValue(String value)StringgetValue()StringtoString()static PaymentTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PaymentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CASH_ADVANCE
public static final PaymentType CASH_ADVANCE
-
CASH_DEPOSIT
public static final PaymentType CASH_DEPOSIT
-
COMPLETION
public static final PaymentType COMPLETION
-
FIRST_RESERVATION
public static final PaymentType FIRST_RESERVATION
-
INSTALMENT
public static final PaymentType INSTALMENT
-
ISSUER_INSTALMENT
public static final PaymentType ISSUER_INSTALMENT
-
NORMAL
public static final PaymentType NORMAL
-
ONE_TIME_RESERVATION
public static final PaymentType ONE_TIME_RESERVATION
-
PAID_OUT
public static final PaymentType PAID_OUT
-
RECURRING
public static final PaymentType RECURRING
-
REFUND
public static final PaymentType REFUND
-
UPDATE_RESERVATION
public static final PaymentType UPDATE_RESERVATION
-
-
Method Detail
-
values
public static PaymentType[] 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 (PaymentType c : PaymentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PaymentType 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<PaymentType>
-
fromValue
public static PaymentType fromValue(String value)
-
-