Class Notification

java.lang.Object
software.xdev.brevo.model.Notification

public class Notification extends Object
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.
  • Field Details

  • Constructor Details

    • Notification

      public Notification()
  • Method Details

    • channel

      public Notification channel(@Nonnull Notification.ChannelEnum channel)
    • getChannel

      @Nonnull public Notification.ChannelEnum getChannel()
      Channel used to send the notifications.
      Returns:
      channel
    • setChannel

      public void setChannel(@Nonnull Notification.ChannelEnum channel)
    • text

      public Notification text(@Nonnull String text)
    • getText

      @Nonnull public String getText()
      Use this field if you want to give more context to your contact about the payment request.
      Returns:
      text
    • setText

      public void setText(@Nonnull String text)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string