SearchOrdersResponse

September 24, 2019 ยท View on GitHub

Description

Only one of order_entries or orders fields will be set, depending on whether return_entries was set on the SearchOrdersRequest.

Properties

NameGetterSetterTypeDescriptionNotes
order_entriesgetOrderEntries()setOrderEntries($value)\SquareConnect\Model\OrderEntry[]List of `OrderEntries` that fit the query conditions. Populated only if `return_entries` was set to `true` in the request.[optional]
ordersgetOrders()setOrders($value)\SquareConnect\Model\Order[]List of `Order` objects that match query conditions. Populated only if `return_entries` in the request is set to `false`.[optional]
cursorgetCursor()setCursor($value)stringThe pagination cursor to be used in a subsequent request. If unset, this is the final response. See Pagination for more information.[optional]
errorsgetErrors()setErrors($value)\SquareConnect\Model\Error[]`Errors` encountered during the search.[optional]

Note: All properties are protected and only accessed via getters and setters.

[Back to Model list] [Back to API list] [Back to README]