public enum PaymentType extends Enum<PaymentType>
| Modifier and Type | Method and Description |
|---|---|
String |
getPaymentType() |
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 POSTPAY
public static final PaymentType PREPAY
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 getPaymentType()
Copyright © 2022. All rights reserved.