public class SubscribeToInboundMessagesRequest extends Object
| Constructor and Description |
|---|
SubscribeToInboundMessagesRequest() |
SubscribeToInboundMessagesRequest(String notifyURL) |
SubscribeToInboundMessagesRequest(String destinationAddress,
String notifyURL)
Start subscribing to notifications of SMS messages sent to your application
|
SubscribeToInboundMessagesRequest(String destinationAddress,
String notifyURL,
String criteria,
String notificationFormat,
String clientCorrelator,
String callbackData)
Start subscribing to notifications of SMS messages sent to your application
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCallbackData()
(optional) is a function name or other data that you would like included when the POST is sent to your application
|
String |
getClientCorrelator()
(optional) uniquely identifies this create subscription request.
|
String |
getCriteria()
(optional) is case-insensitve text to match against the first word of the message, ignoring any leading whitespace.
|
String |
getDestinationAddress()
(mandatory) is the address/ MSISDN, or code agreed with the operator, to which people may send an SMS to your application
|
String |
getNotificationFormat()
(optional) is the content type that notifications will be sent in Đ for OneAPI v1.0 only JSON is supported
|
String |
getNotifyURL()
(mandatory) is the URL to which you would like a notification of message receipts sent
|
void |
setCallbackData(String callbackData)
(optional) is a function name or other data that you would like included when the POST is sent to your application
|
void |
setClientCorrelator(String clientCorrelator)
(optional) uniquely identifies this create subscription request.
|
void |
setCriteria(String criteria)
(optional) is case-insensitve text to match against the first word of the message, ignoring any leading whitespace.
|
void |
setDestinationAddress(String destinationAddress)
(mandatory) is the address/ MSISDN, or code agreed with the operator, to which people may send an SMS to your application
|
void |
setNotificationFormat(String notificationFormat)
(optional) is the content type that notifications will be sent in Đ for OneAPI v1.0 only JSON is supported
|
void |
setNotifyURL(String notifyURL)
(mandatory) is the URL to which you would like a notification of message receipts sent
|
public SubscribeToInboundMessagesRequest()
public SubscribeToInboundMessagesRequest(String notifyURL)
public SubscribeToInboundMessagesRequest(String destinationAddress, String notifyURL)
destinationAddress - is the address/ MSISDN, or code agreed with the operator, to which people may send an SMS to your applicationnotifyURL - is the URL to which you would like a notification of message receipts sentpublic SubscribeToInboundMessagesRequest(String destinationAddress, String notifyURL, String criteria, String notificationFormat, String clientCorrelator, String callbackData)
destinationAddress - (mandatory) is the address/ MSISDN, or code agreed with the operator, to which people may send an SMS to your applicationnotifyURL - (mandatory) is the URL to which you would like a notification of message receipts sentcriteria - (optional) is case-insensitve text to match against the first word of the message, ignoring any leading whitespace. This allows you to reuse a short code among various applications, each of which can register their own subscription with different criterianotificationFormat - (optional) is the content type that notifications will be sent in Đ for OneAPI v1.0 only JSON is supportedclientCorrelator - (optional) uniquely identifies this create subscription request. If there is a communication failure during the request, using the same clientCorrelator when retrying the request allows the operator to avoid creating a duplicate subscriptioncallbackData - (optional) is a function name or other data that you would like included when the POST is sent to your applicationpublic String getDestinationAddress()
public void setDestinationAddress(String destinationAddress)
public String getNotifyURL()
public void setNotifyURL(String notifyURL)
public String getCriteria()
public void setCriteria(String criteria)
public String getNotificationFormat()
public void setNotificationFormat(String notificationFormat)
public String getClientCorrelator()
public void setClientCorrelator(String clientCorrelator)
public void setCallbackData(String callbackData)
public String getCallbackData()
Copyright © 2014. All rights reserved.