YQueue DocsDevelopers

Schema

Pricing

Defines the pricing configuration for the associated catalog model. The pricing configuration has a default base, and optionally supports per-service-type overrides.

  • Catalog

Overview

object · 7 properties · 7 required

Properties

base

reference Required

The base price that should apply when no service-specific pricing is specified.

References Money.

take_away

oneOf Required
Nullable Yes
One of

One of 1

null

One of 2

reference

References Money.

dine_in

oneOf Required
Nullable Yes
One of

One of 1

null

One of 2

reference

References Money.

delivery

oneOf Required
Nullable Yes
One of

One of 1

null

One of 2

reference

References Money.

retail

oneOf Required
Nullable Yes
One of

One of 1

null

One of 2

reference

References Money.

membership

oneOf Required
Nullable Yes
One of

One of 1

null

One of 2

reference

References Money.

advocado_crm_customer

oneOf Required

The price that should be applied when the customer has logged in with Advocado CRM.

Nullable Yes
One of

One of 1

null

One of 2

reference

References Money.

Used by

Raw YAML
Download source
title: Pricing
x-tags:
  - Catalog
type: object
description: |-
  Defines the pricing configuration for the associated catalog model.

  The pricing configuration has a default `base`, and optionally supports per-service-type overrides.
required:
  - base
  - take_away
  - dine_in
  - delivery
  - retail
  - membership
  - advocado_crm_customer
properties:
  base:
    $ref: ./Money.yaml
    description: The base price that should apply when no service-specific pricing is specified.
  take_away:
    oneOf:
      - type: 'null'
      - $ref: ./Money.yaml
  dine_in:
    oneOf:
      - type: 'null'
      - $ref: ./Money.yaml
  delivery:
    oneOf:
      - type: 'null'
      - $ref: ./Money.yaml
  retail:
    oneOf:
      - type: 'null'
      - $ref: ./Money.yaml
  membership:
    oneOf:
      - type: 'null'
      - $ref: ./Money.yaml
  advocado_crm_customer:
    oneOf:
      - type: 'null'
      - $ref: ./Money.yaml
    description: The price that should be applied when the customer has logged in with Advocado CRM.

Search documentation

Search across this documentation site.