public enum PaymentType extends java.lang.Enum<PaymentType>
Enum Constant and Description |
---|
BEGINNING_OF_PERIOD |
END_OF_PERIOD |
Modifier and Type | Method and Description |
---|---|
static PaymentType |
valueOf(java.lang.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 BEGINNING_OF_PERIOD
public static final PaymentType END_OF_PERIOD
public static PaymentType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static PaymentType[] values()
for (PaymentType c : PaymentType.values()) System.out.println(c);
Copyright © 2017, 2024, Oracle and/or its affiliates. All rights reserved.