OrderFulfillmentPickupDetails

April 22, 2020 ยท View on GitHub

Description

Contains details necessary to fulfill a pickup order.

Properties

NameGetterSetterTypeDescriptionNotes
recipientgetRecipient()setRecipient($value)\SquareConnect\Model\OrderFulfillmentRecipientInformation on the person meant to pick up this fulfillment from a physical location.[optional]
expires_atgetExpiresAt()setExpiresAt($value)stringThe timestamp indicating when this fulfillment will expire if it is not accepted. Must be in RFC 3339 format e.g., "2016-09-04T23:59:33.123Z". Expiration time can only be set up to 7 days in the future. If `expires_at` is not set, this pickup fulfillment will be automatically accepted when placed.[optional]
auto_complete_durationgetAutoCompleteDuration()setAutoCompleteDuration($value)stringThe duration of time after which an open and accepted pickup fulfillment will automatically move to the `COMPLETED` state. Must be in RFC3339 duration format e.g., "P1W3D". If not set, this pickup fulfillment will remain accepted until it is canceled or completed.[optional]
schedule_typegetScheduleType()setScheduleType($value)stringThe schedule type of the pickup fulfillment. Defaults to `SCHEDULED`. See OrderFulfillmentPickupDetailsScheduleType for possible values[optional]
pickup_atgetPickupAt()setPickupAt($value)stringThe timestamp that represents the start of the pickup window. Must be in RFC3339 timestamp format, e.g., "2016-09-04T23:59:33.123Z". For fulfillments with the schedule type `ASAP`, this is automatically set to the current time plus the expected duration to prepare the fulfillment.[optional]
pickup_window_durationgetPickupWindowDuration()setPickupWindowDuration($value)stringThe window of time in which the order should be picked up after the `pickup_at` timestamp. Must be in RFC3339 duration format, e.g., "P1W3D". Can be used as an informational guideline for merchants.[optional]
prep_time_durationgetPrepTimeDuration()setPrepTimeDuration($value)stringThe duration of time it takes to prepare this fulfillment. Must be in RFC3339 duration format, e.g., "P1W3D".[optional]
notegetNote()setNote($value)stringA note meant to provide additional instructions about the pickup fulfillment displayed in the Square Point of Sale and set by the API.[optional]
placed_atgetPlacedAt()setPlacedAt($value)stringThe timestamp indicating when the fulfillment was placed. Must be in RFC3339 timestamp format, e.g., "2016-09-04T23:59:33.123Z".[optional]
accepted_atgetAcceptedAt()setAcceptedAt($value)stringThe timestamp indicating when the fulfillment was accepted. In RFC3339 timestamp format, e.g., "2016-09-04T23:59:33.123Z".[optional]
rejected_atgetRejectedAt()setRejectedAt($value)stringThe timestamp indicating when the fulfillment was rejected. In RFC3339 timestamp format, e.g., "2016-09-04T23:59:33.123Z".[optional]
ready_atgetReadyAt()setReadyAt($value)stringThe timestamp indicating when the fulfillment is marked as ready for pickup. In RFC3339 timestamp format, e.g., "2016-09-04T23:59:33.123Z".[optional]
expired_atgetExpiredAt()setExpiredAt($value)stringThe timestamp indicating when the fulfillment expired. In RFC3339 timestamp format, e.g., "2016-09-04T23:59:33.123Z".[optional]
picked_up_atgetPickedUpAt()setPickedUpAt($value)stringThe timestamp indicating when the fulfillment was picked up by the recipient. In RFC3339 timestamp format, e.g., "2016-09-04T23:59:33.123Z".[optional]
canceled_atgetCanceledAt()setCanceledAt($value)stringThe timestamp in RFC3339 timestamp format, e.g., "2016-09-04T23:59:33.123Z", indicating when the fulfillment was canceled.[optional]
cancel_reasongetCancelReason()setCancelReason($value)stringA description of why the pickup was canceled. Max length: 100 characters.[optional]
is_curbside_pickupgetIsCurbsidePickup()setIsCurbsidePickup($value)boolIf true, indicates this pickup order is for curbside pickup, not in-store pickup.[optional] [beta]
curbside_pickup_detailsgetCurbsidePickupDetails()setCurbsidePickupDetails($value)\SquareConnect\Model\OrderFulfillmentPickupDetailsCurbsidePickupDetailsSpecific details for curbside pickup. Can only be populated if `is_curbside_pickup` is true.[optional]

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

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