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
final Indexable |
build()
Finalize building the object.
|
T | |
<S extends IndexableBuilder<?>> T | |
T |
put(String key,
Indexable...
values)
Sets one or multiple
Indexable
values for a property, replacing its previous values.
|
T | |
T | |
T | |
final T | |
T | |
final T | |
final <S extends IndexableBuilder<?>> T |
setIsPartOf(S... collections)
Sets the sub-group or collection that this Indexable is part of.
|
final T | |
T | |
final T | |
final T | |
final T |
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. |
---|