Seat

public final class Seat

Container for seat information in that particular row. It can be null if it is empty row.

Parameters

seatNumber

Seat Number It can be null if there is no physical seat in the location

seatToken

Token used by the Booking service to reserve seats

seatOccupancy

Occupancy details whether it is available or not. It can be null if there is no physical seat in that location. AVAILABLE - Seat is currently available for selection. OCCUPIED - Seat already occupied

column

It can be null if there is no physical seat in that location

seatCharacteristics

Container for seat characteristics information.

paidSeat

A boolean object (true/false) to indicate whether the seat is paid or not. It can be null

seatPrice

Constructors

Link copied to clipboard
public Seat Seat(String seatNumber, String seatToken, Seat.SeatOccupancy seatOccupancy, String column, List<SeatCharacteristic> seatCharacteristics, Boolean paidSeat, SeatSeatPrice seatPrice)

Types

Link copied to clipboard
public final class Builder
Link copied to clipboard

Occupancy details whether it is available or not. It can be null if there is no physical seat in that location. AVAILABLE - Seat is currently available for selection. OCCUPIED - Seat already occupied Values: AVAILABLE,OCCUPIED

Properties

Link copied to clipboard
@Valid()
private final String column
Link copied to clipboard
@Valid()
private final Boolean paidSeat
Link copied to clipboard
Link copied to clipboard
@Valid()
private final String seatNumber
Link copied to clipboard
Link copied to clipboard
@Valid()
private final SeatSeatPrice seatPrice
Link copied to clipboard
@Valid()
private final String seatToken

Functions

Link copied to clipboard
public final static Seat.Builder builder()
Link copied to clipboard
public final String getColumn()
Link copied to clipboard
public final Boolean getPaidSeat()
Link copied to clipboard
Link copied to clipboard
public final String getSeatNumber()
Link copied to clipboard
Link copied to clipboard
public final SeatSeatPrice getSeatPrice()
Link copied to clipboard
public final String getSeatToken()
Link copied to clipboard
public final Seat.Builder toBuilder()