1 /**
2 * @schema AdminShippingOptionPrice
3 * type: object
4 * description: The details of the shipping option's price.
5 * x-schemaName: AdminShippingOptionPrice
6 * required:
7 * - price_rules
8 * - rules_count
9 * - id
10 * - title
11 * - currency_code
12 * - amount
13 * - raw_amount
14 * - min_quantity
15 * - max_quantity
16 * - price_set_id
17 * - created_at
18 * - updated_at
19 * - deleted_at
20 * properties:
21 * price_rules:
22 * type: array
23 * description: The price's rules.
24 * items:
25 * $ref: "#/components/schemas/AdminShippingOptionPriceRule"
26 * rules_count:
27 * type: number
28 * title: rules_count
29 * description: The number of rules the price has.
30 * id:
31 * type: string
32 * title: id
33 * description: The price's ID.
34 * title:
35 * type: string
36 * title: title
37 * description: The price's title.
38 * currency_code:
39 * type: string
40 * title: currency_code
41 * description: The price's currency code.
42 * example: usd
43 * amount:
44 * type: number
45 * title: amount
46 * description: The price's amount.
47 * raw_amount:
48 * type: object
49 * description: The price's raw amount.
50 * min_quantity:
51 * type: number
52 * title: min_quantity
53 * description: The minimum quantity required in the cart for this price to apply.
54 * max_quantity:
55 * type: number
56 * title: max_quantity
57 * description: The maximum quantity that the cart's items must not surpass for this price to apply.
58 * price_set_id:
59 * type: string
60 * title: price_set_id
61 * description: The ID of the price set this price belongs to.
62 * created_at:
63 * type: string
64 * format: date-time
65 * title: created_at
66 * description: The date the price was created.
67 * updated_at:
68 * type: string
69 * format: date-time
70 * title: updated_at
71 * description: The date the price was updated.
72 * deleted_at:
73 * type: string
74 * format: date-time
75 * title: deleted_at
76 * description: The date the price was deleted.
77 *
78 */
79