public class SmsBinaryMessage extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_BINARY |
static String |
SERIALIZED_NAME_CALLBACK_DATA |
static String |
SERIALIZED_NAME_DELIVERY_TIME_WINDOW |
static String |
SERIALIZED_NAME_DESTINATIONS |
static String |
SERIALIZED_NAME_FLASH |
static String |
SERIALIZED_NAME_FROM |
static String |
SERIALIZED_NAME_INTERMEDIATE_REPORT |
static String |
SERIALIZED_NAME_NOTIFY_CONTENT_TYPE |
static String |
SERIALIZED_NAME_NOTIFY_URL |
static String |
SERIALIZED_NAME_REGIONAL |
static String |
SERIALIZED_NAME_SEND_AT |
static String |
SERIALIZED_NAME_VALIDITY_PERIOD |
| Constructor and Description |
|---|
SmsBinaryMessage() |
| Modifier and Type | Method and Description |
|---|---|
SmsBinaryMessage |
addDestinationsItem(SmsDestination destinationsItem) |
SmsBinaryMessage |
binary(SmsBinaryContent binary) |
SmsBinaryMessage |
callbackData(String callbackData) |
SmsBinaryMessage |
deliveryTimeWindow(SmsDeliveryTimeWindow deliveryTimeWindow) |
SmsBinaryMessage |
destinations(List<SmsDestination> destinations) |
boolean |
equals(Object o) |
SmsBinaryMessage |
flash(Boolean flash) |
SmsBinaryMessage |
from(String from) |
SmsBinaryContent |
getBinary()
Get binary
|
String |
getCallbackData()
Additional client data that will be sent on the notifyUrl.
|
SmsDeliveryTimeWindow |
getDeliveryTimeWindow()
Sets specific scheduling options to send a message within daily or hourly intervals.
|
List<SmsDestination> |
getDestinations()
An array of destination objects for where messages are being sent.
|
Boolean |
getFlash()
Allows for sending a [flash SMS](https://www.infobip.com/docs/sms/message-types#flash-sms) to
automatically appear on recipient devices without interaction.
|
String |
getFrom()
The sender ID which can be alphanumeric or numeric (e.g., `CompanyName`).
|
Boolean |
getIntermediateReport()
The [real-time intermediate delivery
report](https://www.infobip.com/docs/api#channels/sms/receive-outbound-sms-message-report)
containing GSM error codes, messages status, pricing, network and country codes, etc., which
will be sent on your callback server.
|
String |
getNotifyContentType()
Preferred delivery report content type, `application/json` or
`application/xml`.
|
String |
getNotifyUrl()
The URL on your call back server on which the Delivery report will be sent.
|
SmsRegionalOptions |
getRegional()
Region-specific parameters, often imposed by local laws.
|
OffsetDateTime |
getSendAt()
Date and time when the message is to be sent.
|
Long |
getValidityPeriod()
The message validity period in minutes.
|
int |
hashCode() |
SmsBinaryMessage |
intermediateReport(Boolean intermediateReport) |
SmsBinaryMessage |
notifyContentType(String notifyContentType) |
SmsBinaryMessage |
notifyUrl(String notifyUrl) |
SmsBinaryMessage |
regional(SmsRegionalOptions regional) |
SmsBinaryMessage |
sendAt(OffsetDateTime sendAt) |
void |
setBinary(SmsBinaryContent binary) |
void |
setCallbackData(String callbackData) |
void |
setDeliveryTimeWindow(SmsDeliveryTimeWindow deliveryTimeWindow) |
void |
setDestinations(List<SmsDestination> destinations) |
void |
setFlash(Boolean flash) |
void |
setFrom(String from) |
void |
setIntermediateReport(Boolean intermediateReport) |
void |
setNotifyContentType(String notifyContentType) |
void |
setNotifyUrl(String notifyUrl) |
void |
setRegional(SmsRegionalOptions regional) |
void |
setSendAt(OffsetDateTime sendAt) |
void |
setValidityPeriod(Long validityPeriod) |
String |
toString() |
SmsBinaryMessage |
validityPeriod(Long validityPeriod) |
public static final String SERIALIZED_NAME_BINARY
public static final String SERIALIZED_NAME_CALLBACK_DATA
public static final String SERIALIZED_NAME_DELIVERY_TIME_WINDOW
public static final String SERIALIZED_NAME_DESTINATIONS
public static final String SERIALIZED_NAME_FLASH
public static final String SERIALIZED_NAME_FROM
public static final String SERIALIZED_NAME_INTERMEDIATE_REPORT
public static final String SERIALIZED_NAME_NOTIFY_CONTENT_TYPE
public static final String SERIALIZED_NAME_NOTIFY_URL
public static final String SERIALIZED_NAME_REGIONAL
public static final String SERIALIZED_NAME_SEND_AT
public static final String SERIALIZED_NAME_VALIDITY_PERIOD
public SmsBinaryMessage binary(SmsBinaryContent binary)
public SmsBinaryContent getBinary()
public void setBinary(SmsBinaryContent binary)
public SmsBinaryMessage callbackData(String callbackData)
public String getCallbackData()
public void setCallbackData(String callbackData)
public SmsBinaryMessage deliveryTimeWindow(SmsDeliveryTimeWindow deliveryTimeWindow)
public SmsDeliveryTimeWindow getDeliveryTimeWindow()
public void setDeliveryTimeWindow(SmsDeliveryTimeWindow deliveryTimeWindow)
public SmsBinaryMessage destinations(List<SmsDestination> destinations)
public SmsBinaryMessage addDestinationsItem(SmsDestination destinationsItem)
public List<SmsDestination> getDestinations()
public void setDestinations(List<SmsDestination> destinations)
public SmsBinaryMessage flash(Boolean flash)
public Boolean getFlash()
public void setFlash(Boolean flash)
public SmsBinaryMessage from(String from)
public String getFrom()
public void setFrom(String from)
public SmsBinaryMessage intermediateReport(Boolean intermediateReport)
public Boolean getIntermediateReport()
public void setIntermediateReport(Boolean intermediateReport)
public SmsBinaryMessage notifyContentType(String notifyContentType)
public String getNotifyContentType()
public void setNotifyContentType(String notifyContentType)
public SmsBinaryMessage notifyUrl(String notifyUrl)
public String getNotifyUrl()
public void setNotifyUrl(String notifyUrl)
public SmsBinaryMessage regional(SmsRegionalOptions regional)
public SmsRegionalOptions getRegional()
public void setRegional(SmsRegionalOptions regional)
public SmsBinaryMessage sendAt(OffsetDateTime sendAt)
public OffsetDateTime getSendAt()
public void setSendAt(OffsetDateTime sendAt)
public SmsBinaryMessage validityPeriod(Long validityPeriod)
public Long getValidityPeriod()
public void setValidityPeriod(Long validityPeriod)
Copyright © 2022. All rights reserved.