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

Latest commit

 

History

History
23 lines (17 loc) · 2.32 KB

File metadata and controls

23 lines (17 loc) · 2.32 KB

OrderReturnDiscount

squareconnect.models.order_return_discount

Description

The line item discount being returned.

Properties

Name Type Description Notes
uid str Unique ID that identifies the return discount only within this order. This field is read-only. [optional]
source_discount_uid str `uid` of the Discount from the Order which contains the original application of this discount. [optional]
catalog_object_id str The catalog object id referencing CatalogDiscount. [optional]
name str The discount's name. [optional]
type str The type of the discount. If it is created by API, it would be either `FIXED_PERCENTAGE` or `FIXED_AMOUNT`. VARIABLE_* is not supported in API because the order is created at the time of sale and either percentage or amount has to be specified. See OrderLineItemDiscountType for possible values [optional]
percentage str The percentage of the tax, as a string representation of a decimal number. A value of `7.25` corresponds to a percentage of 7.25%. The percentage won't be set for an amount-based discount. [optional]
amount_money Money The total monetary amount of the applicable discount. If it is at order level, it is the value of the order level discount. If it is at line item level, it is the value of the line item level discount. The amount_money won't be set for a percentage-based discount. [optional]
applied_money Money The amount of discount actually applied to this line item. When an amount-based discount is at order-level, this value is different from `amount_money` because the discount is distributed across the line items. [optional]
scope str Indicates the level at which the discount applies. This field is set by the server. If set in a CreateOrder request, it will be ignored on write. See OrderLineItemDiscountScope for possible values [optional]

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