1 /**
2 * @schema OrderShippingMethodTaxLine
3 * type: object
4 * description: The shipping method tax line's details.
5 * x-schemaName: OrderShippingMethodTaxLine
6 * required:
7 * - shipping_method
8 * - shipping_method_id
9 * - total
10 * - subtotal
11 * - id
12 * - code
13 * - rate
14 * - created_at
15 * - updated_at
16 * properties:
17 * shipping_method:
18 * $ref: "#/components/schemas/OrderShippingMethod"
19 * shipping_method_id:
20 * type: string
21 * title: shipping_method_id
22 * description: The ID of the shipping method that this tax line is for.
23 * total:
24 * type: number
25 * title: total
26 * description: The shipping method's total including taxes and promotions.
27 * subtotal:
28 * type: number
29 * title: subtotal
30 * description: The shipping method's total excluding taxes, including promotions.
31 * id:
32 * type: string
33 * title: id
34 * description: The tax line's ID.
35 * description:
36 * type: string
37 * title: description
38 * description: The tax line's description.
39 * tax_rate_id:
40 * type: string
41 * title: tax_rate_id
42 * description: The ID of the applied tax rate.
43 * code:
44 * type: string
45 * title: code
46 * description: The code that the tax rate is identified by.
47 * rate:
48 * type: number
49 * title: rate
50 * description: The rate to charge.
51 * provider_id:
52 * type: string
53 * title: provider_id
54 * description: The ID of the tax provider used to calculate taxes.
55 * created_at:
56 * type: string
57 * format: date-time
58 * title: created_at
59 * description: The date the tax line was created.
60 * updated_at:
61 * type: string
62 * format: date-time
63 * title: updated_at
64 * description: The date the tax line was updated.
65 * data:
66 * type: object
67 * description: The tax line's data.
68 * metadata:
69 * type: object
70 * description: The tax line's metadata. Can hold custom key-value pairs.
71 *
72 */
73