ReservationBuilder

public final class ReservationBuilder extends IndexableBuilder<ReservationBuilder>

Builder to construct an Indexable for a reservation.

For reference, see: //schema.org/Reservation.

Public Method Summary

ReservationBuilder
setPartySize(long partySize)
Sets the party size for which the reservation was made.
ReservationBuilder
setReservationFor(LocalBusinessBuilder localBusiness)
Sets the local business being reserved.
ReservationBuilder
setStartDate(Date startDate)
Sets the start time of a reserved event or service.

Inherited Method Summary

Public Methods

public ReservationBuilder setPartySize (long partySize)

Sets the party size for which the reservation was made.

Parameters
partySize The party size for which the reservation was made, if applicable.

public ReservationBuilder setReservationFor (LocalBusinessBuilder localBusiness)

Sets the local business being reserved.

Parameters
localBusiness The local business being reserved, e.g.: restaurant, hotel.

public ReservationBuilder setStartDate (Date startDate)

Sets the start time of a reserved event or service.

Parameters
startDate The start time of a reserved event or service.