Package com.adyen.model.nexo
Enum PaymentType
- java.lang.Object
-
- java.lang.Enum<PaymentType>
-
- com.adyen.model.nexo.PaymentType
-
- All Implemented Interfaces:
Serializable,Comparable<PaymentType>
public enum PaymentType extends Enum<PaymentType>
Java class for PaymentType.The following schema fragment specifies the expected content contained within this class.
<simpleType name="PaymentType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Normal"/> <enumeration value="Refund"/> <enumeration value="OneTimeReservation"/> <enumeration value="FirstReservation"/> <enumeration value="UpdateReservation"/> <enumeration value="Completion"/> <enumeration value="CashAdvance"/> <enumeration value="CashDeposit"/> <enumeration value="Recurring"/> <enumeration value="Instalment"/> <enumeration value="IssuerInstalment"/> <enumeration value="PaidOut"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CASH_ADVANCECash advance at the POI System.CASH_DEPOSITCash deposit at the POI System, to credit an account.COMPLETIONEnd of the reservation transaction.FIRST_RESERVATIONFirst reservation for an amount and period of time.INSTALMENTInstalments of payment performed on behalf of the merchant.ISSUER_INSTALMENTInstalments of payment performed by the card issuer.NORMALNormal PaymentONE_TIME_RESERVATIONOne time reservation to be just followed by a completion when the service or good is delivered.PAID_OUTGive money to in return for goods or services rendered to the merchant.RECURRINGRecurring payment.REFUNDPayment refundUPDATE_RESERVATIONAdjustment of the amount or period of time of a reservation.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentTypefromValue(String v)Returns the enum constant matching the given string, ornullif no match is found.Stringvalue()Value string.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
-
NORMAL
@SerializedName("Normal") public static final PaymentType NORMALNormal Payment
-
REFUND
@SerializedName("Refund") public static final PaymentType REFUNDPayment refund
-
ONE_TIME_RESERVATION
@SerializedName("OneTimeReservation") public static final PaymentType ONE_TIME_RESERVATIONOne time reservation to be just followed by a completion when the service or good is delivered. This service is sometimes called "Deferred Sale".
-
FIRST_RESERVATION
@SerializedName("FirstReservation") public static final PaymentType FIRST_RESERVATIONFirst reservation for an amount and period of time. This service is sometimes called "Pre-Authorisation".
-
UPDATE_RESERVATION
@SerializedName("UpdateReservation") public static final PaymentType UPDATE_RESERVATIONAdjustment of the amount or period of time of a reservation.
-
COMPLETION
@SerializedName("Completion") public static final PaymentType COMPLETIONEnd of the reservation transaction.
-
CASH_ADVANCE
@SerializedName("CashAdvance") public static final PaymentType CASH_ADVANCECash advance at the POI System.
-
CASH_DEPOSIT
@SerializedName("CashDeposit") public static final PaymentType CASH_DEPOSITCash deposit at the POI System, to credit an account.
-
RECURRING
@SerializedName("Recurring") public static final PaymentType RECURRINGRecurring payment.
-
INSTALMENT
@SerializedName("Instalment") public static final PaymentType INSTALMENTInstalments of payment performed on behalf of the merchant.
-
ISSUER_INSTALMENT
@SerializedName("IssuerInstalment") public static final PaymentType ISSUER_INSTALMENTInstalments of payment performed by the card issuer.
-
PAID_OUT
@SerializedName("PaidOut") public static final PaymentType PAID_OUTGive money to in return for goods or services rendered to the merchant.
-
-
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
-
value
public String value()
Value string.- Returns:
- the string
-
fromValue
public static PaymentType fromValue(String v)
Returns the enum constant matching the given string, ornullif no match is found.- Parameters:
v- string value- Returns:
- the PaymentType, or
nullif no match is found.
-
-