public enum FuelTransactionProductType extends Enum<FuelTransactionProductType> implements HasName
| Enum Constant and Description |
|---|
CNG
CNG (Compressed Natural Gas).
|
DIESEL
Diesel fuel.
|
DIESEL_EXHAUST_FLUID
Diesel exhaust fluid.
|
E85
E85 (Ethanol 85%).
|
ELECTRIC
Electric.
|
HYDROGEN
Hydrogen.
|
LPG
LPG (Liquid Propane Gas).
|
MIDGRADE
Mid grade gasoline (88-89 Octane : 92-93 Ron).
|
NON_FUEL
A non-fuel purchase.
|
PREMIUM
Premium grade gasoline (90-91 Octane : 94-95 Ron).
|
REGULAR
Regular grade gasoline (86-87 Octane : 90-91 Ron).
|
SUPER
Super grade gasoline (92-94+ Octane : 96-99+ Ron).
|
UNKNOWN
Unknown product type.
|
| Modifier and Type | Method and Description |
|---|---|
static FuelTransactionProductType |
findOrDefault(String name) |
int |
getCode() |
String |
getName() |
static FuelTransactionProductType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FuelTransactionProductType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FuelTransactionProductType UNKNOWN
public static final FuelTransactionProductType NON_FUEL
public static final FuelTransactionProductType REGULAR
public static final FuelTransactionProductType MIDGRADE
public static final FuelTransactionProductType PREMIUM
public static final FuelTransactionProductType SUPER
public static final FuelTransactionProductType DIESEL
public static final FuelTransactionProductType E85
public static final FuelTransactionProductType CNG
public static final FuelTransactionProductType LPG
public static final FuelTransactionProductType HYDROGEN
public static final FuelTransactionProductType DIESEL_EXHAUST_FLUID
public static final FuelTransactionProductType ELECTRIC
public static FuelTransactionProductType[] values()
for (FuelTransactionProductType c : FuelTransactionProductType.values()) System.out.println(c);
public static FuelTransactionProductType 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 getCode()
public static FuelTransactionProductType findOrDefault(String name)
Copyright © 2023. All rights reserved.