1 /**
2 * @schema StorePrice
3 * type: object
4 * description: The price's details.
5 * x-schemaName: StorePrice
6 * required:
7 * - id
8 * - currency_code
9 * - amount
10 * - min_quantity
11 * - max_quantity
12 * properties:
13 * id:
14 * type: string
15 * title: id
16 * description: The price's ID.
17 * currency_code:
18 * type: string
19 * title: currency_code
20 * description: The price's ISO 2 currency code.
21 * example: usd
22 * amount:
23 * type: number
24 * title: amount
25 * description: The price's amount.
26 * min_quantity:
27 * type: number
28 * title: min_quantity
29 * description: The minimum quantity required in the cart for the price to apply.
30 * max_quantity:
31 * type: number
32 * title: max_quantity
33 * description: The maximum quantity required in the cart for the price to apply.
34 * price_rules:
35 * type: array
36 * description: The price's rules.
37 * items:
38 * $ref: "#/components/schemas/StorePriceRule"
39 *
40 */
41