Enum PaymentInstrument
- java.lang.Object
-
- java.lang.Enum<PaymentInstrument>
-
- cz.gopay.api.v3.model.payment.support.PaymentInstrument
-
- All Implemented Interfaces:
Serializable,Comparable<PaymentInstrument>
public enum PaymentInstrument extends Enum<PaymentInstrument>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCOUNTAPPLE_PAYBANK_ACCOUNTBITCOINCLICK_TO_PAYCOUPONGOPAYGPAYMASTERPASSMPAYMENTPAYMENT_CARDPAYPALPAYSAFECARDPRSMS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PaymentInstrumentvalueOf(String name)Returns the enum constant of this type with the specified name.static PaymentInstrument[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PAYMENT_CARD
public static final PaymentInstrument PAYMENT_CARD
-
APPLE_PAY
public static final PaymentInstrument APPLE_PAY
-
BANK_ACCOUNT
public static final PaymentInstrument BANK_ACCOUNT
-
PRSMS
public static final PaymentInstrument PRSMS
-
MPAYMENT
public static final PaymentInstrument MPAYMENT
-
COUPON
public static final PaymentInstrument COUPON
-
PAYSAFECARD
public static final PaymentInstrument PAYSAFECARD
-
GOPAY
public static final PaymentInstrument GOPAY
-
PAYPAL
public static final PaymentInstrument PAYPAL
-
BITCOIN
public static final PaymentInstrument BITCOIN
-
MASTERPASS
public static final PaymentInstrument MASTERPASS
-
GPAY
public static final PaymentInstrument GPAY
-
ACCOUNT
public static final PaymentInstrument ACCOUNT
-
CLICK_TO_PAY
public static final PaymentInstrument CLICK_TO_PAY
-
-
Method Detail
-
values
public static PaymentInstrument[] 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 (PaymentInstrument c : PaymentInstrument.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PaymentInstrument 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
-
-