TerminalCheckout

April 22, 2020 · View on GitHub

Description

Properties

NameGetterSetterTypeDescriptionNotes
idgetId()setId($value)stringA unique ID for this `TerminalCheckout`[optional]
amount_moneygetAmountMoney()setAmountMoney($value)\SquareConnect\Model\MoneyThe amount of money (including tax amount) that the Square Terminal device should try to collect.
reference_idgetReferenceId()setReferenceId($value)stringAn optional user-defined reference ID which can be used to associate this TerminalCheckout to another entity in an external system. For example, an order ID generated by a third-party shopping cart. Will also be associated with any payments used to complete the checkout.[optional]
notegetNote()setNote($value)stringAn optional note to associate with the checkout, as well any payments used to complete the checkout.[optional]
device_optionsgetDeviceOptions()setDeviceOptions($value)\SquareConnect\Model\DeviceCheckoutOptionsOptions to control the display and behavior of the Square Terminal device.
deadline_durationgetDeadlineDuration()setDeadlineDuration($value)stringThe duration as an RFC 3339 duration, after which the checkout will be automatically canceled. TerminalCheckouts that are PENDING will be automatically CANCELED and have a cancellation reason of “TIMED\_OUT”. Default: 5 minutes from creation Maximum: 5 minutes[optional]
statusgetStatus()setStatus($value)stringThe status of the `TerminalCheckout`. Options: PENDING, IN\_PROGRESS, CANCELED, COMPLETED[optional]
cancel_reasongetCancelReason()setCancelReason($value)stringPresent if the status is CANCELED. See TerminalCheckoutCancelReason for possible values[optional]
payment_idsgetPaymentIds()setPaymentIds($value)string[]A list of payments created by this `TerminalCheckout`.[optional]
created_atgetCreatedAt()setCreatedAt($value)stringThe time when the `TerminalCheckout` was created as an RFC 3339 timestamp.[optional]
updated_atgetUpdatedAt()setUpdatedAt($value)stringThe time when the `TerminalCheckout` was last updated as an RFC 3339 timestamp.[optional]

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

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