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

Latest commit

 

History

History
22 lines (15 loc) · 1.44 KB

V1Discount.md

File metadata and controls

22 lines (15 loc) · 1.44 KB

V1Discount

Description

V1Discount Note: This model is deprecated.

Properties

Name Type Description Notes
id String The discount's unique ID. [optional]
name String The discount's name. [optional]
rate String The rate of the discount, as a string representation of a decimal number. A value of 0.07 corresponds to a rate of 7%. This rate is 0 if discount_type is VARIABLE_PERCENTAGE. [optional]
amountMoney V1Money The amount of the discount. This amount is 0 if discount_type is VARIABLE_AMOUNT. This field is not included for rate-based discounts. [optional]
discountType String Indicates whether the discount is a FIXED value or entered at the time of sale. See V1DiscountDiscountType for possible values [optional]
pinRequired Boolean Indicates whether a mobile staff member needs to enter their PIN to apply the discount to a payment. [optional]
color String The color of the discount's display label in Square Point of Sale, if not the default color. The default color is 9da2a6. See V1DiscountColor for possible values [optional]
v2Id String The ID of the CatalogObject in the Connect v2 API. Objects that are shared across multiple locations share the same v2 ID. [optional]