public enum PaymentFlow extends Enum<PaymentFlow>
Enum Constant and Description |
---|
OFFLINE
This ride is set to be payed offline
The ride is payed directly to the driver
|
ONLINE
This ride is set to be payed online
The ride is payed using the Mobility SDK payment method
|
Modifier and Type | Method and Description |
---|---|
static PaymentFlow |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentFlow[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentFlow ONLINE
public static final PaymentFlow OFFLINE
public static PaymentFlow[] values()
for (PaymentFlow c : PaymentFlow.values()) System.out.println(c);
public static PaymentFlow 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 null