public static final class BookingAppointment.Builder extends Object
public BookingAppointment.Builder id(String id)
public BookingAppointment.Builder selfServiceAppointmentId(String selfServiceAppointmentId)
public BookingAppointment.Builder customerId(String customerId)
customerId - value of customerId property (as defined in service metadata)this (for method chaining)public BookingAppointment.Builder customerName(String customerName)
public BookingAppointment.Builder customerEmailAddress(String customerEmailAddress)
public BookingAppointment.Builder customerPhone(String customerPhone)
public BookingAppointment.Builder customerLocation(Location customerLocation)
public BookingAppointment.Builder customerNotes(String customerNotes)
Org.OData.Core.V1.Immutable
true
customerNotes - value of customerNotes property (as defined in service metadata)this (for method chaining)public BookingAppointment.Builder serviceId(String serviceId)
Org.OData.Core.V1.Immutable
true
serviceId - value of serviceId property (as defined in service metadata)this (for method chaining)public BookingAppointment.Builder serviceName(String serviceName)
serviceName - value of serviceName property (as defined in service metadata)this (for method chaining)public BookingAppointment.Builder start(DateTimeTimeZone start)
public BookingAppointment.Builder end(DateTimeTimeZone end)
public BookingAppointment.Builder duration(Duration duration)
Org.OData.Core.V1.Computed
true
duration - value of duration property (as defined in service metadata)this (for method chaining)public BookingAppointment.Builder preBuffer(Duration preBuffer)
public BookingAppointment.Builder postBuffer(Duration postBuffer)
public BookingAppointment.Builder serviceLocation(Location serviceLocation)
public BookingAppointment.Builder priceType(BookingPriceType priceType)
public BookingAppointment.Builder price(Double price)
public BookingAppointment.Builder serviceNotes(String serviceNotes)
serviceNotes - value of serviceNotes property (as defined in service metadata)this (for method chaining)public BookingAppointment.Builder reminders(List<BookingReminder> reminders)
reminders - value of reminders property (as defined in service metadata)this (for method chaining)public BookingAppointment.Builder reminders(BookingReminder... reminders)
reminders - value of reminders property (as defined in service metadata)this (for method chaining)public BookingAppointment.Builder remindersNextLink(String remindersNextLink)
remindersNextLink - value of reminders@nextLink property (as defined in service metadata)this (for method chaining)public BookingAppointment.Builder optOutOfCustomerEmail(Boolean optOutOfCustomerEmail)
public BookingAppointment.Builder staffMemberIds(List<String> staffMemberIds)
public BookingAppointment.Builder staffMemberIds(String... staffMemberIds)
public BookingAppointment.Builder staffMemberIdsNextLink(String staffMemberIdsNextLink)
public BookingAppointment.Builder invoiceAmount(Double invoiceAmount)
public BookingAppointment.Builder invoiceDate(DateTimeTimeZone invoiceDate)
public BookingAppointment.Builder invoiceId(String invoiceId)
public BookingAppointment.Builder invoiceStatus(BookingInvoiceStatus invoiceStatus)
public BookingAppointment.Builder invoiceUrl(String invoiceUrl)
Org.OData.Core.V1.IsURL
true
invoiceUrl - value of invoiceUrl property (as defined in service metadata)this (for method chaining)public BookingAppointment build()
Copyright © 2018–2020. All rights reserved.