Interface CommunicationTypeOptions.Builder

    • Method Detail

      • type

        CommunicationTypeOptions.Builder type​(String type)

        A string value indicating the communication type. At the moment the type value can assume one of 3 values at the moment chat, web and call.

        Parameters:
        type - A string value indicating the communication type. At the moment the type value can assume one of 3 values at the moment chat, web and call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedHours

        CommunicationTypeOptions.Builder supportedHours​(Collection<SupportedHour> supportedHours)

        A JSON-formatted list containing time ranges when support is available.

        Parameters:
        supportedHours - A JSON-formatted list containing time ranges when support is available.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportedHours

        CommunicationTypeOptions.Builder supportedHours​(SupportedHour... supportedHours)

        A JSON-formatted list containing time ranges when support is available.

        Parameters:
        supportedHours - A JSON-formatted list containing time ranges when support is available.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • datesWithoutSupport

        CommunicationTypeOptions.Builder datesWithoutSupport​(Collection<DateInterval> datesWithoutSupport)

        A JSON-formatted list containing date and time ranges for periods without support

        Parameters:
        datesWithoutSupport - A JSON-formatted list containing date and time ranges for periods without support
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • datesWithoutSupport

        CommunicationTypeOptions.Builder datesWithoutSupport​(DateInterval... datesWithoutSupport)

        A JSON-formatted list containing date and time ranges for periods without support

        Parameters:
        datesWithoutSupport - A JSON-formatted list containing date and time ranges for periods without support
        Returns:
        Returns a reference to this object so that method calls can be chained together.