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

Files

Latest commit

5cf9e58 · Oct 23, 2019

History

History
19 lines (11 loc) · 1.29 KB

OrderLineItemAppliedDiscount.md

File metadata and controls

19 lines (11 loc) · 1.29 KB

Square.Connect.Model.OrderLineItemAppliedDiscount

Description

Represents an applied portion of a discount to a line item in an order. Order scoped discounts will automatically have applied discounts present for each line item. Line item scoped discounts must have applied discounts added manually for any applicable line items. The corresponding applied money will automatically be computed based on participating line items. Note: This model is in beta.

Properties

Name Type Description Notes
Uid string Unique ID that identifies the applied discount only within this order. [optional]
DiscountUid string The `uid` of the discount the applied discount represents. Must reference a discount present in the `order.discounts` field. This field is immutable. To change which discounts apply to a line item, you must delete the discount and re-add it as a new `OrderLineItemAppliedDiscount`.
AppliedMoney Money The amount of money applied by the discount to the line item. [optional]

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