1 /**
2 * @schema StoreCartPromotion
3 * type: object
4 * description: The promotion's promotions.
5 * x-schemaName: StoreCartPromotion
6 * required:
7 * - id
8 * properties:
9 * id:
10 * type: string
11 * title: id
12 * description: The promotion's ID.
13 * code:
14 * type: string
15 * title: code
16 * description: The promotion's code.
17 * is_automatic:
18 * type: boolean
19 * title: is_automatic
20 * description: The promotion's is automatic.
21 * application_method:
22 * type: object
23 * description: The promotion's application method.
24 * required:
25 * - value
26 * - type
27 * - currency_code
28 * properties:
29 * value:
30 * type: string
31 * title: value
32 * description: The application method's value.
33 * type:
34 * type: string
35 * description: The application method's type.
36 * enum:
37 * - fixed
38 * - percentage
39 * currency_code:
40 * type: string
41 * title: currency_code
42 * description: The application method's currency code.
43 *
44 */
45