Package software.xdev.brevo.model
Class Notification
java.lang.Object
software.xdev.brevo.model.Notification
Optional. Use this object if you want to let Brevo send an email to the contact, with the payment request URL. If empty, no notifications (message and reminders) will be sent.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumChannel used to send the notifications. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchannel(Notification.ChannelEnum channel) booleanChannel used to send the notifications.getText()Use this field if you want to give more context to your contact about the payment request.inthashCode()voidsetChannel(Notification.ChannelEnum channel) voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_CHANNEL
- See Also:
-
JSON_PROPERTY_TEXT
- See Also:
-
-
Constructor Details
-
Notification
public Notification()
-
-
Method Details
-
channel
-
getChannel
Channel used to send the notifications.- Returns:
- channel
-
setChannel
-
text
-
getText
Use this field if you want to give more context to your contact about the payment request.- Returns:
- text
-
setText
-
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
-