public enum EPaymentMethod extends Enum<EPaymentMethod>
Enum Constant and Description |
---|
ActivationCode |
AutoGrant |
ClickAndBuy |
Complimentary |
CreditCard |
Giropay |
GuestPass |
HardwarePromo |
Ideal |
None |
OEMTicket |
PayPal |
PaySafeCard |
Sofort |
Split |
Wallet |
WebMoney |
Modifier and Type | Field and Description |
---|---|
private int |
code |
private static HashMap<Integer,EPaymentMethod> |
values |
Modifier and Type | Method and Description |
---|---|
static EPaymentMethod |
f(int code) |
int |
v() |
static EPaymentMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EPaymentMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EPaymentMethod None
public static final EPaymentMethod ActivationCode
public static final EPaymentMethod CreditCard
public static final EPaymentMethod Giropay
public static final EPaymentMethod PayPal
public static final EPaymentMethod Ideal
public static final EPaymentMethod PaySafeCard
public static final EPaymentMethod Sofort
public static final EPaymentMethod GuestPass
public static final EPaymentMethod WebMoney
public static final EPaymentMethod HardwarePromo
public static final EPaymentMethod ClickAndBuy
public static final EPaymentMethod AutoGrant
public static final EPaymentMethod Wallet
public static final EPaymentMethod OEMTicket
public static final EPaymentMethod Split
public static final EPaymentMethod Complimentary
private int code
private static HashMap<Integer,EPaymentMethod> values
public static EPaymentMethod[] values()
for (EPaymentMethod c : EPaymentMethod.values()) System.out.println(c);
public static EPaymentMethod 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 int v()
public static EPaymentMethod f(int code)
Copyright © 2012. All Rights Reserved.