/// //#region src/components/checkout/types.d.ts interface PaymentMethod { id: string; name: string; nameEn?: string; surcharge: string; surchargeAmount?: number; icon?: string; iconComponent?: React.ReactNode; color?: string; enabled?: boolean; code: string; type: string; fixed?: number; percentage?: number; totalAmount?: string; } /** * 刷卡机列表 */ interface CardReader { /** 刷卡机ID */ id?: string | number; /** 刷卡机类型 */ type?: string; /** 刷卡机状态 */ status?: string; /** 刷卡机设置 */ setting?: { /** iot设备列表 */iot_devices?: { /** 设备id */number?: string | number; }[]; /** 固定费率 */ constant_rate?: number | string; /** 固定金额 */ constant_money?: number | string; /** 是否显示手续费 */ surcharge?: boolean; /** 设备列表 */ devices?: { /** 设备编号 */number?: string | number; }[]; }; } //#endregion export { CardReader, PaymentMethod };