Interface CheckIfPhoneNumberIsOptedOutResponse.Builder

    • Method Detail

      • isOptedOut

        CheckIfPhoneNumberIsOptedOutResponse.Builder isOptedOut​(Boolean isOptedOut)

        Indicates whether the phone number is opted out:

        • true – The phone number is opted out, meaning you cannot publish SMS messages to it.

        • false – The phone number is opted in, meaning you can publish SMS messages to it.

        Parameters:
        isOptedOut - Indicates whether the phone number is opted out:

        • true – The phone number is opted out, meaning you cannot publish SMS messages to it.

        • false – The phone number is opted in, meaning you can publish SMS messages to it.

        Returns:
        Returns a reference to this object so that method calls can be chained together.