Package software.xdev.brevo.model
Class OrderBatch
java.lang.Object
software.xdev.brevo.model.OrderBatch
OrderBatch
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddOrdersItem(Order ordersItem) booleanDefines wether you want your orders to be considered as live data or as historical data (import of past data, synchronising data).Notify Url provided by client to get the status of batch requestarray of order objectsinthashCode()historical(Boolean historical) voidsetHistorical(Boolean historical) voidsetNotifyUrl(String notifyUrl) voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ORDERS
- See Also:
-
JSON_PROPERTY_NOTIFY_URL
- See Also:
-
JSON_PROPERTY_HISTORICAL
- See Also:
-
-
Constructor Details
-
OrderBatch
public OrderBatch()
-
-
Method Details
-
orders
-
addOrdersItem
-
getOrders
array of order objects- Returns:
- orders
-
setOrders
-
notifyUrl
-
getNotifyUrl
Notify Url provided by client to get the status of batch request- Returns:
- notifyUrl
-
setNotifyUrl
-
historical
-
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
-
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
-