Tender

September 24, 2019 ยท View on GitHub

Description

Represents a tender (i.e., a method of payment) used in a Square transaction.

Properties

NameGetterSetterTypeDescriptionNotes
idgetId()setId($value)stringThe tender's unique ID.[optional]
location_idgetLocationId()setLocationId($value)stringThe ID of the transaction's associated location.[optional]
transaction_idgetTransactionId()setTransactionId($value)stringThe ID of the tender's associated transaction.[optional]
created_atgetCreatedAt()setCreatedAt($value)stringThe time when the tender was created, in RFC 3339 format.[optional]
notegetNote()setNote($value)stringAn optional note associated with the tender at the time of payment.[optional]
amount_moneygetAmountMoney()setAmountMoney($value)\SquareConnect\Model\MoneyThe total amount of the tender, including `tip_money`. If the tender has a `payment_id`, the `total_money` of the corresponding `Payment` will be equal to the `amount_money` of the tender.[optional]
tip_moneygetTipMoney()setTipMoney($value)\SquareConnect\Model\MoneyThe tip's amount of the tender.[optional]
processing_fee_moneygetProcessingFeeMoney()setProcessingFeeMoney($value)\SquareConnect\Model\MoneyThe amount of any Square processing fees applied to the tender. This field is not immediately populated when a new transaction is created. It is usually available after about ten seconds.[optional]
customer_idgetCustomerId()setCustomerId($value)stringIf the tender is associated with a customer or represents a customer's card on file, this is the ID of the associated customer.[optional]
typegetType()setType($value)stringThe type of tender, such as `CARD` or `CASH`. See TenderType for possible values
card_detailsgetCardDetails()setCardDetails($value)\SquareConnect\Model\TenderCardDetailsThe details of the card tender. This value is present only if the value of `type` is `CARD`.[optional]
cash_detailsgetCashDetails()setCashDetails($value)\SquareConnect\Model\TenderCashDetailsThe details of the cash tender. This value is present only if the value of `type` is `CASH`.[optional]
additional_recipientsgetAdditionalRecipients()setAdditionalRecipients($value)\SquareConnect\Model\AdditionalRecipient[]Additional recipients (other than the merchant) receiving a portion of this tender. For example, fees assessed on the purchase by a third party integration.[optional]
payment_idgetPaymentId()setPaymentId($value)stringThe ID of the `Payment` that corresponds to this tender. This value is only present for payments created with the v2 Payments API.[optional]

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

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