| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Booking.Builder |
allDay(Boolean allDay)
Setter for allDay.
|
Booking.Builder |
appointmentSegments(List<AppointmentSegment> appointmentSegments)
Setter for appointmentSegments.
|
Booking |
build()
Builds a new
Booking object using the set fields. |
Booking.Builder |
createdAt(String createdAt)
Setter for createdAt.
|
Booking.Builder |
creatorDetails(BookingCreatorDetails creatorDetails)
Setter for creatorDetails.
|
Booking.Builder |
customerId(String customerId)
Setter for customerId.
|
Booking.Builder |
customerNote(String customerNote)
Setter for customerNote.
|
Booking.Builder |
id(String id)
Setter for id.
|
Booking.Builder |
locationId(String locationId)
Setter for locationId.
|
Booking.Builder |
locationType(String locationType)
Setter for locationType.
|
Booking.Builder |
sellerNote(String sellerNote)
Setter for sellerNote.
|
Booking.Builder |
source(String source)
Setter for source.
|
Booking.Builder |
startAt(String startAt)
Setter for startAt.
|
Booking.Builder |
status(String status)
Setter for status.
|
Booking.Builder |
transitionTimeMinutes(Integer transitionTimeMinutes)
Setter for transitionTimeMinutes.
|
Booking.Builder |
updatedAt(String updatedAt)
Setter for updatedAt.
|
Booking.Builder |
version(Integer version)
Setter for version.
|
public Booking.Builder id(String id)
id - String value for id.public Booking.Builder version(Integer version)
version - Integer value for version.public Booking.Builder status(String status)
status - String value for status.public Booking.Builder createdAt(String createdAt)
createdAt - String value for createdAt.public Booking.Builder updatedAt(String updatedAt)
updatedAt - String value for updatedAt.public Booking.Builder startAt(String startAt)
startAt - String value for startAt.public Booking.Builder locationId(String locationId)
locationId - String value for locationId.public Booking.Builder customerId(String customerId)
customerId - String value for customerId.public Booking.Builder customerNote(String customerNote)
customerNote - String value for customerNote.public Booking.Builder sellerNote(String sellerNote)
sellerNote - String value for sellerNote.public Booking.Builder appointmentSegments(List<AppointmentSegment> appointmentSegments)
appointmentSegments - List of AppointmentSegment value for appointmentSegments.public Booking.Builder transitionTimeMinutes(Integer transitionTimeMinutes)
transitionTimeMinutes - Integer value for transitionTimeMinutes.public Booking.Builder allDay(Boolean allDay)
allDay - Boolean value for allDay.public Booking.Builder locationType(String locationType)
locationType - String value for locationType.public Booking.Builder creatorDetails(BookingCreatorDetails creatorDetails)
creatorDetails - BookingCreatorDetails value for creatorDetails.public Booking.Builder source(String source)
source - String value for source.Copyright © 2022. All rights reserved.