ServiceChargeCriteria

Describes thresholds for when a service charge should be applied to a check.

delivery
boolean

True if the service charge is only applicable for deliveries.

dineIn
boolean

Indicates whether the service charge is applied to orders that have the dine-in dining option behavior.

maxCheckAmount
number <double>

The service charge is waived if the pre-discount check amount is more than this amount. A null value means this criteria is inapplicable.

minCheckAmount
number <double>

The service charge is only applicable if the pre-discount check is at least this amount.

minDeliveryDistance
number <double>

The service charge is only applicable to deliveries that are at least this distance. A null value means this criteria is inapplicable.

takeout
boolean

Indicates whether the service charge is automatically applied to orders that have the takeout dining option behavior.

{
  • "minCheckAmount": 0,
  • "delivery": true,
  • "maxCheckAmount": 0,
  • "minDeliveryDistance": 0,
  • "takeout": true,
  • "dineIn": true
}