1 /**
2 * @schema BaseOrderLineItemAdjustment
3 * type: object
4 * description: The adjustment's details.
5 * x-schemaName: BaseOrderLineItemAdjustment
6 * properties:
7 * item:
8 * $ref: "#/components/schemas/BaseOrderLineItem"
9 * item_id:
10 * type: string
11 * title: item_id
12 * description: The ID of the item this adjustment applies to.
13 * id:
14 * type: string
15 * title: id
16 * description: The adjustment's ID.
17 * code:
18 * type: string
19 * title: code
20 * description: The adjustment's code.
21 * amount:
22 * type: number
23 * title: amount
24 * description: The adjustment's amount.
25 * order_id:
26 * type: string
27 * title: order_id
28 * description: The ID of the associated order.
29 * description:
30 * type: string
31 * title: description
32 * description: The adjustment's description.
33 * promotion_id:
34 * type: string
35 * title: promotion_id
36 * description: The ID of the promotion that this applies on the order's item.
37 * provider_id:
38 * type: string
39 * title: provider_id
40 * description: The adjustment's provider ID.
41 * created_at:
42 * type: string
43 * format: date-time
44 * title: created_at
45 * description: The date the adjustment was created.
46 * updated_at:
47 * type: string
48 * format: date-time
49 * title: updated_at
50 * description: The date the adjustment was updated.
51 * required:
52 * - item
53 * - item_id
54 * - id
55 * - amount
56 * - order_id
57 * - created_at
58 * - updated_at
59 *
60 */
61