V1Order

March 13, 2019 ยท View on GitHub

Description

V1Order

Properties

NameGetterSetterTypeDescriptionNotes
errorsgetErrors()setErrors($value)\SquareConnect\Model\Error[]Any errors that occurred during the request.[optional]
idgetId()setId($value)stringThe order's unique identifier.[optional]
buyer_emailgetBuyerEmail()setBuyerEmail($value)stringThe email address of the order's buyer.[optional]
recipient_namegetRecipientName()setRecipientName($value)stringThe name of the order's buyer.[optional]
recipient_phone_numbergetRecipientPhoneNumber()setRecipientPhoneNumber($value)stringThe phone number to use for the order's delivery.[optional]
stategetState()setState($value)stringWhether the tax is an ADDITIVE tax or an INCLUSIVE tax. See V1OrderState for possible values[optional]
shipping_addressgetShippingAddress()setShippingAddress($value)\SquareConnect\Model\AddressThe address to ship the order to.[optional]
subtotal_moneygetSubtotalMoney()setSubtotalMoney($value)\SquareConnect\Model\V1MoneyThe amount of all items purchased in the order, before taxes and shipping.[optional]
total_shipping_moneygetTotalShippingMoney()setTotalShippingMoney($value)\SquareConnect\Model\V1MoneyThe shipping cost for the order.[optional]
total_tax_moneygetTotalTaxMoney()setTotalTaxMoney($value)\SquareConnect\Model\V1MoneyThe total of all taxes applied to the order.[optional]
total_price_moneygetTotalPriceMoney()setTotalPriceMoney($value)\SquareConnect\Model\V1MoneyThe total cost of the order.[optional]
total_discount_moneygetTotalDiscountMoney()setTotalDiscountMoney($value)\SquareConnect\Model\V1MoneyThe total of all discounts applied to the order.[optional]
created_atgetCreatedAt()setCreatedAt($value)stringThe time when the order was created, in ISO 8601 format.[optional]
updated_atgetUpdatedAt()setUpdatedAt($value)stringThe time when the order was last modified, in ISO 8601 format.[optional]
expires_atgetExpiresAt()setExpiresAt($value)stringThe time when the order expires if no action is taken, in ISO 8601 format.[optional]
payment_idgetPaymentId()setPaymentId($value)stringThe unique identifier of the payment associated with the order.[optional]
buyer_notegetBuyerNote()setBuyerNote($value)stringA note provided by the buyer when the order was created, if any.[optional]
completed_notegetCompletedNote()setCompletedNote($value)stringA note provided by the merchant when the order's state was set to COMPLETED, if any[optional]
refunded_notegetRefundedNote()setRefundedNote($value)stringA note provided by the merchant when the order's state was set to REFUNDED, if any.[optional]
canceled_notegetCanceledNote()setCanceledNote($value)stringA note provided by the merchant when the order's state was set to CANCELED, if any.[optional]
tendergetTender()setTender($value)\SquareConnect\Model\V1TenderThe tender used to pay for the order.[optional]
order_historygetOrderHistory()setOrderHistory($value)\SquareConnect\Model\V1OrderHistoryEntry[]The history of actions associated with the order.[optional]
promo_codegetPromoCode()setPromoCode($value)stringThe promo code provided by the buyer, if any.[optional]
btc_receive_addressgetBtcReceiveAddress()setBtcReceiveAddress($value)stringFor Bitcoin transactions, the address that the buyer sent Bitcoin to.[optional]
btc_price_satoshigetBtcPriceSatoshi()setBtcPriceSatoshi($value)floatFor Bitcoin transactions, the price of the buyer's order in satoshi (100 million satoshi equals 1 BTC).[optional]

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

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