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