public enum BillingPeriod extends Enum<BillingPeriod>
BillingPeriod supported in the system| Enum Constant and Description |
|---|
ANNUAL |
MONTHLY |
NO_BILLING_PERIOD |
QUARTERLY |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfMonths() |
static BillingPeriod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BillingPeriod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BillingPeriod MONTHLY
public static final BillingPeriod QUARTERLY
public static final BillingPeriod ANNUAL
public static final BillingPeriod NO_BILLING_PERIOD
public static BillingPeriod[] values()
for (BillingPeriod c : BillingPeriod.values()) System.out.println(c);
public static BillingPeriod 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 getNumberOfMonths()
Copyright © 2010-2014. All Rights Reserved.