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 and Description |
|---|
CASH_ADVANCE
Cash advance at the POI System.
|
CASH_DEPOSIT
Cash deposit at the POI System, to credit an account.
|
COMPLETION
End of the reservation transaction.
|
FIRST_RESERVATION
First reservation for an amount and period of time.
|
INSTALMENT
Instalments of payment performed on behalf of the merchant.
|
ISSUER_INSTALMENT
Instalments of payment performed by the card issuer.
|
NORMAL
Normal Payment
|
ONE_TIME_RESERVATION
One time reservation to be just followed by a completion when the service or good is delivered.
|
PAID_OUT
Give money to in return for goods or services rendered to the merchant.
|
RECURRING
Recurring payment.
|
REFUND
Payment refund
|
UPDATE_RESERVATION
Adjustment of the amount or period of time of a reservation.
|
| Modifier and Type | Method and Description |
|---|---|
static PaymentType |
fromValue(String v)
From value payment type.
|
String |
value()
Value string.
|
static PaymentType |
valueOf(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.
|
public static final PaymentType NORMAL
public static final PaymentType REFUND
public static final PaymentType ONE_TIME_RESERVATION
public static final PaymentType FIRST_RESERVATION
public static final PaymentType UPDATE_RESERVATION
public static final PaymentType COMPLETION
public static final PaymentType CASH_ADVANCE
public static final PaymentType CASH_DEPOSIT
public static final PaymentType RECURRING
public static final PaymentType INSTALMENT
public static final PaymentType ISSUER_INSTALMENT
public static final PaymentType PAID_OUT
public static PaymentType[] values()
for (PaymentType c : PaymentType.values()) System.out.println(c);
public static PaymentType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static PaymentType fromValue(String v)
v - the vCopyright © 2022. All rights reserved.