OrderReturnLineItem

June 12, 2019 ยท View on GitHub

squareconnect.models.order_return_line_item

Description

The line item being returned in an Order.

Properties

NameTypeDescriptionNotes
uidstrUnique identifier for this return line item entry. This is a read-only field.[optional]
source_line_item_uidstr`uid` of the LineItem in the original sale Order.[optional]
namestrThe name of the line item.[optional]
quantitystrThe quantity returned, formatted as a decimal number. For example: `"3"`. Line items with a `quantity_unit` can have non-integer quantities. For example: `"1.70000"`.
quantity_unitOrderQuantityUnitThe unit and precision that this return line item's quantity is measured in.[optional]
notestrThe note of the returned line item.[optional]
catalog_object_idstrThe CatalogItemVariation id applied to this returned line item.[optional]
variation_namestrThe name of the variation applied to this returned line item.[optional]
return_modifierslist[OrderReturnLineItemModifier]The CatalogModifiers applied to this line item.[optional]
return_taxeslist[OrderReturnTax]A list of taxes applied to this line item. On read or retrieve, this list includes both item-level taxes and any return-level taxes apportioned to this item.[optional]
return_discountslist[OrderReturnDiscount]A list of discounts applied to this line item. On read or retrieve, this list includes both item-level discounts and any return-level discounts apportioned to this item.[optional]
base_price_moneyMoneyThe base price for a single unit of the line item.[optional]
variation_total_price_moneyMoneyThe total price of all item variations returned in this line item. Calculated as `base_price_money` multiplied by `quantity`. Does not include modifiers.[optional]
gross_return_moneyMoneyThe gross return amount of money calculated as (item base price + modifiers price) * quantity. This field is read-only.[optional]
total_tax_moneyMoneyThe total tax amount of money to return for the line item. This field is read-only.[optional]
total_discount_moneyMoneyThe total discount amount of money to return for the line item. This field is read-only.[optional]
total_moneyMoneyThe total amount of money to return for this line item. This field is read-only.[optional]

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