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 (12 loc) · 1.34 KB

CreateOrderRequestDiscount.md

File metadata and controls

20 lines (12 loc) · 1.34 KB

Square.Connect.Model.CreateOrderRequestDiscount

Description

Deprecated: Please use the OrderLineItemDiscount type in the order field of CreateOrderRequest instead. Represents a discount that can apply to either a single line item or an entire order. Note: This model is deprecated.

Properties

Name Type Description Notes
CatalogObjectId string Only used for catalog discounts. The catalog object ID for an existing `CatalogDiscount`. Do not provide a value for this field if you provide values in other fields for an ad hoc discount. [optional]
Name string Only used for ad hoc discounts. The discount's name. [optional]
Percentage string Only used for ad hoc discounts. The percentage of the discount, as a string representation of a decimal number. A value of `7.25` corresponds to a percentage of 7.25%. This value range between 0.0 up to 100.0 [optional]
AmountMoney Money Only used for ad hoc discounts. The monetary amount of the discount. [optional]

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