Class GetPaymentRequest

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

public class GetPaymentRequest extends Object
GetPaymentRequest
  • Field Details

  • Constructor Details

    • GetPaymentRequest

      public GetPaymentRequest()
  • Method Details

    • reference

      public GetPaymentRequest reference(@Nonnull String reference)
    • getReference

      @Nonnull public String getReference()
      Reference of the payment request, it will appear on the payment page.
      Returns:
      reference
    • setReference

      public void setReference(@Nonnull String reference)
    • status

      public GetPaymentRequest status(@Nonnull GetPaymentRequest.StatusEnum status)
    • getStatus

      @Nonnull public GetPaymentRequest.StatusEnum getStatus()
      Status of the payment request.
      Returns:
      status
    • setStatus

      public void setStatus(@Nonnull GetPaymentRequest.StatusEnum status)
    • _configuration

      public GetPaymentRequest _configuration(@Nullable ModelConfiguration _configuration)
    • getConfiguration

      @Nullable public ModelConfiguration getConfiguration()
      Get _configuration
      Returns:
      _configuration
    • setConfiguration

      public void setConfiguration(@Nullable ModelConfiguration _configuration)
    • contactId

      public GetPaymentRequest contactId(@Nullable Long contactId)
    • getContactId

      @Nullable public Long getContactId()
      Brevo ID of the contact requested to pay.
      Returns:
      contactId
    • setContactId

      public void setContactId(@Nullable Long contactId)
    • numberOfRemindersSent

      public GetPaymentRequest numberOfRemindersSent(@Nullable Long numberOfRemindersSent)
    • getNumberOfRemindersSent

      @Nullable public Long getNumberOfRemindersSent()
      number of reminders sent.
      Returns:
      numberOfRemindersSent
    • setNumberOfRemindersSent

      public void setNumberOfRemindersSent(@Nullable Long numberOfRemindersSent)
    • cart

      public GetPaymentRequest cart(@Nonnull Cart cart)
    • getCart

      @Nonnull public Cart getCart()
      Get cart
      Returns:
      cart
    • setCart

      public void setCart(@Nonnull Cart cart)
    • notification

      public GetPaymentRequest notification(@Nonnull Notification notification)
    • getNotification

      @Nonnull public Notification getNotification()
      Get notification
      Returns:
      notification
    • setNotification

      public void setNotification(@Nonnull Notification notification)
    • 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