import type * as Square from "../index"; export interface CheckoutLocationSettingsTipping { /** Set three custom percentage amounts that buyers can select at checkout. If Smart Tip is enabled, this only applies to transactions totaling $10 or more. */ percentages?: number[] | null; /** * Enables Smart Tip Amounts. If Smart Tip Amounts is enabled, tipping works as follows: * If a transaction is less than $10, the available tipping options include No Tip, $1, $2, or $3. * If a transaction is $10 or more, the available tipping options include No Tip, 15%, 20%, or 25%. * You can set custom percentage amounts with the `percentages` field. */ smartTippingEnabled?: boolean | null; /** Set the pre-selected percentage amounts that appear at checkout. If Smart Tip is enabled, this only applies to transactions totaling $10 or more. */ defaultPercent?: number | null; /** Show the Smart Tip Amounts for this location. */ smartTips?: Square.Money[] | null; /** Set the pre-selected whole amount that appears at checkout when Smart Tip is enabled and the transaction amount is less than $10. */ defaultSmartTip?: Square.Money; }