public enum Payment extends Enum<Payment>
| Modifier and Type | Method and Description |
|---|---|
static Payment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Payment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Payment Postpaid
public static final Payment Prepaid
public static Payment[] values()
for (Payment c : Payment.values()) System.out.println(c);
public static Payment 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 nullCopyright © 2025. All rights reserved.