SearchCatalogObjectsRequest

November 20, 2019 ยท View on GitHub

Description

Properties

NameGetterSetterTypeDescriptionNotes
cursorgetCursor()setCursor($value)stringThe pagination cursor returned in the previous response. Leave unset for an initial request. See Pagination for more information.[optional]
object_typesgetObjectTypes()setObjectTypes($value)string[]The desired set of object types to appear in the search results. The legal values are taken from the CatalogObjectType enum: `"ITEM"`, `"ITEM_VARIATION"`, `"CATEGORY"`, `"DISCOUNT"`, `"TAX"`, `"MODIFIER"`, or `"MODIFIER_LIST"`. See CatalogObjectType for possible values[optional]
include_deleted_objectsgetIncludeDeletedObjects()setIncludeDeletedObjects($value)boolIf `true`, deleted objects will be included in the results. Deleted objects will have their `is_deleted` field set to `true`.[optional]
include_related_objectsgetIncludeRelatedObjects()setIncludeRelatedObjects($value)boolIf `true`, the response will include additional objects that are related to the requested object, as follows: If a CatalogItem is returned in the object field of the response, its associated CatalogCategory, CatalogTax objects, CatalogImage objects and CatalogModifierList objects will be included in the `related_objects` field of the response. If a CatalogItemVariation is returned in the object field of the response, its parent CatalogItem will be included in the `related_objects` field of the response.[optional]
begin_timegetBeginTime()setBeginTime($value)stringReturn objects modified after this timestamp, in RFC 3339 format, e.g., `2016-09-04T23:59:33.123Z`. The timestamp is exclusive - objects with a timestamp equal to `begin_time` will not be included in the response.[optional]
querygetQuery()setQuery($value)\SquareConnect\Model\CatalogQueryA query to be used to filter or sort the results. If no query is specified, the entire catalog will be returned.[optional]
limitgetLimit()setLimit($value)intA limit on the number of results to be returned in a single page. The limit is advisory - the implementation may return more or fewer results. If the supplied limit is negative, zero, or is higher than the maximum limit of 1,000, it will be ignored.[optional]

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

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