Class BookingSchedulingPolicy.Builder

    • Method Detail

      • allowStaffSelection

        public BookingSchedulingPolicy.Builder allowStaffSelection​(Boolean allowStaffSelection)
        “Allow customers to choose a specific person for the booking.”
        Parameters:
        allowStaffSelection - value of allowStaffSelection property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • maximumAdvance

        public BookingSchedulingPolicy.Builder maximumAdvance​(Duration maximumAdvance)
        “Maximum number of days in advance that a booking can be made.”
        Parameters:
        maximumAdvance - value of maximumAdvance property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • minimumLeadTime

        public BookingSchedulingPolicy.Builder minimumLeadTime​(Duration minimumLeadTime)
        “Minimum lead time for bookings and cancellations.”
        Parameters:
        minimumLeadTime - value of minimumLeadTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • sendConfirmationsToOwner

        public BookingSchedulingPolicy.Builder sendConfirmationsToOwner​(Boolean sendConfirmationsToOwner)
        “Notify the business via email when a booking is created or changed.”
        Parameters:
        sendConfirmationsToOwner - value of sendConfirmationsToOwner property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • timeSlotInterval

        public BookingSchedulingPolicy.Builder timeSlotInterval​(Duration timeSlotInterval)
        “Duration of each time slot.”
        Parameters:
        timeSlotInterval - value of timeSlotInterval property (as defined in service metadata)
        Returns:
        this (for method chaining)