Class OrderBatch

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

public class OrderBatch extends Object
OrderBatch
  • Field Details

  • Constructor Details

    • OrderBatch

      public OrderBatch()
  • Method Details

    • orders

      public OrderBatch orders(@Nonnull List<Order> orders)
    • addOrdersItem

      public OrderBatch addOrdersItem(Order ordersItem)
    • getOrders

      @Nonnull public List<Order> getOrders()
      array of order objects
      Returns:
      orders
    • setOrders

      public void setOrders(@Nonnull List<Order> orders)
    • notifyUrl

      public OrderBatch notifyUrl(@Nullable String notifyUrl)
    • getNotifyUrl

      @Nullable public String getNotifyUrl()
      Notify Url provided by client to get the status of batch request
      Returns:
      notifyUrl
    • setNotifyUrl

      public void setNotifyUrl(@Nullable String notifyUrl)
    • historical

      public OrderBatch historical(@Nullable Boolean historical)
    • getHistorical

      @Nullable public Boolean getHistorical()
      Defines wether you want your orders to be considered as live data or as historical data (import of past data, synchronising data). True: orders will not trigger any automation workflows. False: orders will trigger workflows as usual.
      Returns:
      historical
    • setHistorical

      public void setHistorical(@Nullable Boolean historical)
    • 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