Class SendSmsBatchBinaryRequest.Builder

java.lang.Object
com.sinch.sdk.domains.sms.models.requests.SendSmsBatchBinaryRequest.Builder
Enclosing class:
SendSmsBatchBinaryRequest

public static class SendSmsBatchBinaryRequest.Builder extends Object
  • Method Details

    • setFlashMessage

      public SendSmsBatchBinaryRequest.Builder setFlashMessage(boolean flashMessage)
      Parameters:
      flashMessage - If sent as a flash message, displays true.
      Returns:
      current builder
    • setTruncateConcat

      public SendSmsBatchBinaryRequest.Builder setTruncateConcat(boolean truncateConcat)
      Parameters:
      truncateConcat - If set to true, the message was shortened when exceeding one part.
      Returns:
      current builder
    • setMaxNumberOfMessageParts

      public SendSmsBatchBinaryRequest.Builder setMaxNumberOfMessageParts(int maxNumberOfMessageParts)
      Parameters:
      maxNumberOfMessageParts - Displays the number of message parts set in the request.
      Returns:
      current builder
    • setFromTon

      public SendSmsBatchBinaryRequest.Builder setFromTon(int fromTon)
      Parameters:
      fromTon - The type of number for the sender number.
      Returns:
      current builder
    • setFromNpi

      public SendSmsBatchBinaryRequest.Builder setFromNpi(int fromNpi)
      Parameters:
      fromNpi - Number Plan Indicator for the sender number.
      Returns:
      current builder
    • setUdh

      Parameters:
      udh - The UDH header of a binary message HEX encoded. Max 140 bytes including the body.
      Returns:
      current builder
    • build

      public SendSmsBatchBinaryRequest build()