Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Latest commit

 

History

History
20 lines (15 loc) · 1.82 KB

OrderReturn.md

File metadata and controls

20 lines (15 loc) · 1.82 KB

SquareConnect.OrderReturn

Description

Note: This model is in beta.

The set of line items, service charges, taxes, discounts, tips, etc. being returned in an Order.

Properties

Name Type Description Notes
uid String Unique ID that identifies the return only within this order. [optional]
source_order_id String Order which contains the original sale of these returned line items. This will be unset for unlinked returns. [optional]
return_line_items [OrderReturnLineItem] Collection of line items which are being returned. [optional]
return_service_charges [OrderReturnServiceCharge] Collection of service charges which are being returned. [optional]
return_taxes [OrderReturnTax] Collection of references to taxes being returned for an order, including the total applied tax amount to be returned. The taxes must reference a top-level tax ID from the source order. [optional]
return_discounts [OrderReturnDiscount] Collection of references to discounts being returned for an order, including the total applied discount amount to be returned. The discounts must reference a top-level discount ID from the source order. [optional]
rounding_adjustment OrderRoundingAdjustment A positive or negative rounding adjustment to the total value being returned. Commonly used to apply Cash Rounding when the minimum unit of account is smaller than the lowest physical denomination of currency. [optional]
return_amounts OrderMoneyAmounts Aggregate monetary value being returned by this Return entry. [optional]