public enum BookingStatus extends Enum<BookingStatus>
Enum Constant and Description |
---|
Bookable
Indicates that the associated event is not booked and information associated with it will not be provided,
but the event could be booked
|
Booked
Indicates if the associated event is booked and information associated with it will be provided
|
Buyable
Indicates if the associated event is buyable
|
Unavailable
Indicates if the associated event is not available for booking
|
Modifier and Type | Method and Description |
---|---|
static BookingStatus |
getLiveBookingStatus(String liveBookingStatus)
Maps the provided
String to a BookingStatus |
static BookingStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BookingStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BookingStatus Buyable
public static final BookingStatus Bookable
public static final BookingStatus Booked
public static final BookingStatus Unavailable
public static BookingStatus[] values()
for (BookingStatus c : BookingStatus.values()) System.out.println(c);
public static BookingStatus 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 static BookingStatus getLiveBookingStatus(String liveBookingStatus)
String
to a BookingStatus
liveBookingStatus
- - a String
describing a BookingStatus
BookingStatus
Copyright © 2016–2025. All rights reserved.