calculate-price
Estimate the payable total for a store order from item codes and quantities, returning total price in cents and item details. Read-only pricing only; no order is placed.
Instructions
按门店和餐品试算订单应付金额,返回总价(单位分)和餐品明细。只算价、不下单,可放心调用;用户问“多少钱”时用它,不要用 create-order。只读。演示数据,虚构,不连麦当劳官方服务。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | 要点的餐品,每项一个餐品编码和数量,至少一项 | |
| beType | Yes | 业务类型,取自 query-nearby-stores 返回的 beType;演示门店为 1(到店取餐) | |
| orderType | Yes | 订单类型:1 到店,2 外送。演示门店只支持 1 | |
| storeCode | Yes | 门店编码,取自 query-nearby-stores 返回的 storeCode;演示里只有 DEMO001 |