public static enum StationInformation.RentalMethod extends Enum<StationInformation.RentalMethod>
Enum Constant and Description |
---|
ACCOUNTNUMBER |
ANDROIDPAY |
APPLEPAY |
CREDITCARD |
KEY |
PAYPASS |
PHONE |
TRANSITCARD |
Modifier and Type | Method and Description |
---|---|
static StationInformation.RentalMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StationInformation.RentalMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StationInformation.RentalMethod KEY
public static final StationInformation.RentalMethod CREDITCARD
public static final StationInformation.RentalMethod PAYPASS
public static final StationInformation.RentalMethod APPLEPAY
public static final StationInformation.RentalMethod ANDROIDPAY
public static final StationInformation.RentalMethod TRANSITCARD
public static final StationInformation.RentalMethod ACCOUNTNUMBER
public static final StationInformation.RentalMethod PHONE
public static StationInformation.RentalMethod[] values()
for (StationInformation.RentalMethod c : StationInformation.RentalMethod.values()) System.out.println(c);
public static StationInformation.RentalMethod 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 © 2020. All rights reserved.