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 | |
ReservationBuilder |
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. |
---|