/** * @schema StorePrice * type: object * description: The price's details. * x-schemaName: StorePrice * required: * - id * - currency_code * - amount * - min_quantity * - max_quantity * properties: * id: * type: string * title: id * description: The price's ID. * currency_code: * type: string * title: currency_code * description: The price's ISO 2 currency code. * example: usd * amount: * type: number * title: amount * description: The price's amount. * min_quantity: * type: number * title: min_quantity * description: The minimum quantity required in the cart for the price to apply. * max_quantity: * type: number * title: max_quantity * description: The maximum quantity required in the cart for the price to apply. * price_rules: * type: array * description: The price's rules. * items: * $ref: "#/components/schemas/StorePriceRule" * */