UpdateOrderRequest

September 24, 2019 ยท View on GitHub

Description

Defines the fields that are included in requests to the UpdateOrder endpoint.

Properties

NameGetterSetterTypeDescriptionNotes
ordergetOrder()setOrder($value)\SquareConnect\Model\OrderThe sparse order containing only the fields to update and the version the update is being applied to.[optional]
fields_to_cleargetFieldsToClear()setFieldsToClear($value)string[]The dot notation paths fields to clear. For example, `line_items[uid].note` Read more about Deleting fields.[optional]
idempotency_keygetIdempotencyKey()setIdempotencyKey($value)stringA value you specify that uniquely identifies this update request If you're unsure whether a particular update was applied to an order successfully, you can reattempt it with the same idempotency key without worrying about creating duplicate updates to the order. The latest order version will be returned. See Idempotency for more information.[optional]

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

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