AvailableTimeSlot

public final class AvailableTimeSlot

The list of available Time Slots for the activity.

Parameters

dateTime

The date and time when the activity happens.

allDayActivity

Indicates whether the activity is an all-day activity.

cancellationPolicy
tickets

Container for ticket information.

Constructors

Link copied to clipboard
public AvailableTimeSlot AvailableTimeSlot(    LocalDateTime dateTime,     Boolean allDayActivity,     ActivitiesCancellationPolicy cancellationPolicy,     List<Ticket> tickets)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@NotNull()
@Valid()
private final Boolean allDayActivity
Link copied to clipboard
@NotNull()
@Valid()
private final ActivitiesCancellationPolicy cancellationPolicy
Link copied to clipboard
private final LocalDateTime dateTime
Link copied to clipboard
@NotNull()
@Valid()
private final List<Ticket> tickets

Functions

Link copied to clipboard
public final static AvailableTimeSlot.Builder builder()
Link copied to clipboard
public final Boolean getAllDayActivity()
Link copied to clipboard
public final LocalDateTime getDateTime()
Link copied to clipboard
public final List<Ticket> getTickets()
Link copied to clipboard