public static enum TariffTransaction.Type extends Enum<TariffTransaction.Type>
Enum Constant and Description |
---|
CONSUME |
PERIODIC |
PRODUCE |
PUBLISH |
REFUND |
REVOKE |
SIGNUP |
WITHDRAW |
Modifier and Type | Method and Description |
---|---|
static TariffTransaction.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TariffTransaction.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TariffTransaction.Type PUBLISH
public static final TariffTransaction.Type PRODUCE
public static final TariffTransaction.Type CONSUME
public static final TariffTransaction.Type PERIODIC
public static final TariffTransaction.Type SIGNUP
public static final TariffTransaction.Type WITHDRAW
public static final TariffTransaction.Type REVOKE
public static final TariffTransaction.Type REFUND
public static TariffTransaction.Type[] values()
for (TariffTransaction.Type c : TariffTransaction.Type.values()) System.out.println(c);
public static TariffTransaction.Type 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 © 2019 Power TAC. All rights reserved.