Package software.xdev.brevo.model
Class SendTransacSms
java.lang.Object
software.xdev.brevo.model.SendTransacSms
SendTransacSms
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanContent of the message.A recognizable prefix will ensure your audience knows who you are.Mobile number to send SMS with the country codeName of the sender.getTag()A tag can have two types of values, either a string or an array of strings.getType()Type of the SMS.Format of the message.Webhook to call for each event triggered by the message (delivered etc.)inthashCode()organisationPrefix(String organisationPrefix) voidsetContent(String content) voidsetOrganisationPrefix(String organisationPrefix) voidsetRecipient(String recipient) voidvoidvoidvoidsetUnicodeEnabled(Boolean unicodeEnabled) voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.type(SendTransacSms.TypeEnum type) unicodeEnabled(Boolean unicodeEnabled)
-
Field Details
-
JSON_PROPERTY_SENDER
- See Also:
-
JSON_PROPERTY_RECIPIENT
- See Also:
-
JSON_PROPERTY_CONTENT
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_TAG
- See Also:
-
JSON_PROPERTY_WEB_URL
- See Also:
-
JSON_PROPERTY_UNICODE_ENABLED
- See Also:
-
JSON_PROPERTY_ORGANISATION_PREFIX
- See Also:
-
-
Constructor Details
-
SendTransacSms
public SendTransacSms()
-
-
Method Details
-
sender
-
getSender
Name of the sender. **The number of characters is limited to 11 for alphanumeric characters and 15 for numeric characters**- Returns:
- sender
-
setSender
-
recipient
-
getRecipient
Mobile number to send SMS with the country code- Returns:
- recipient
-
setRecipient
-
content
-
getContent
Content of the message. If more than **160 characters** long, will be sent as multiple text messages- Returns:
- content
-
setContent
-
type
-
getType
Type of the SMS. Marketing SMS messages are those sent typically with marketing content. Transactional SMS messages are sent to individuals and are triggered in response to some action, such as a sign-up, purchase, etc.- Returns:
- type
-
setType
-
tag
-
getTag
A tag can have two types of values, either a string or an array of strings.- Returns:
- tag
-
setTag
-
webUrl
-
getWebUrl
Webhook to call for each event triggered by the message (delivered etc.)- Returns:
- webUrl
-
setWebUrl
-
unicodeEnabled
-
getUnicodeEnabled
Format of the message. It indicates whether the content should be treated as unicode or not.- Returns:
- unicodeEnabled
-
setUnicodeEnabled
-
organisationPrefix
-
getOrganisationPrefix
A recognizable prefix will ensure your audience knows who you are. Recommended by U.S. carriers. This will be added as your Brand Name before the message content. **Prefer verifying maximum length of 160 characters including this prefix in message content to avoid multiple sending of same sms.**- Returns:
- organisationPrefix
-
setOrganisationPrefix
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-