public static enum ParkingLot.PaymentMethodType extends Enum<ParkingLot.PaymentMethodType>
Enum Constant and Description |
---|
CASH
Cash.
|
CREDIT_CARD
Credit card.
|
DIRECT_CASH_TRANSFER
Direct cash transfer.
|
ELECTRONIC_SETTLEMENT
Electronic settlement.
|
MOBILE_PHONE
Mobile phone.
|
PREPAY_CARD
Prepay card.
|
RFID
RFID.
|
SMARTCARD
Smart card.
|
TICKET
Ticket.
|
TOKEN
Token.
|
UNKNOWN
Unknown.
|
Modifier and Type | Method and Description |
---|---|
static ParkingLot.PaymentMethodType |
fromValue(String value)
Gets the payment method type by the specified value.
|
String |
getValue()
Gets the payment method type as string.
|
static ParkingLot.PaymentMethodType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParkingLot.PaymentMethodType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParkingLot.PaymentMethodType UNKNOWN
public static final ParkingLot.PaymentMethodType CASH
public static final ParkingLot.PaymentMethodType CREDIT_CARD
public static final ParkingLot.PaymentMethodType ELECTRONIC_SETTLEMENT
public static final ParkingLot.PaymentMethodType TICKET
public static final ParkingLot.PaymentMethodType TOKEN
public static final ParkingLot.PaymentMethodType DIRECT_CASH_TRANSFER
public static final ParkingLot.PaymentMethodType RFID
public static final ParkingLot.PaymentMethodType PREPAY_CARD
public static final ParkingLot.PaymentMethodType MOBILE_PHONE
public static final ParkingLot.PaymentMethodType SMARTCARD
public static ParkingLot.PaymentMethodType[] values()
for (ParkingLot.PaymentMethodType c : ParkingLot.PaymentMethodType.values()) System.out.println(c);
public static ParkingLot.PaymentMethodType 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 String getValue()
public static ParkingLot.PaymentMethodType fromValue(String value)
value
- The payment method type as string.ParkingLot.PaymentMethodType.UNKNOWN
if not found.Copyright © 2013-2016 INRIX, Inc. All Rights Reserved.