/* tslint:disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ export interface InlinePaymentPanel { /** * 总金额,金额单位分,tip:仅支持整数型字符串 */ "total-amount": string; /** * 百度收银台的财务结算凭证,详见平台术语 */ "deal-id": string; /** * 支付能力开通后分配的支付 appKey,详见平台术语 */ "app-key": string; /** * 平台营销信息,此处传当前订单中可使用平台券的 spuid,同时需在 支付能力中搭配使用传入该参数;注:仅与百度合作平台类目券的开发者需要填写该参数 */ "promotion-tag"?: | string | { [k: string]: unknown; }; /** * 是否设置挽留弹窗 */ "enable-page-back-modal"?: boolean; /** * 自定义样式设置 */ "custom-style"?: { [k: string]: unknown; }; /** * 自定义样式档位配置,各档位配置项包括支付渠道/优惠券条高度、渠道图标大小、支付渠道文案字体大小、营销文案字体大小、选择器图标大小 */ "style-type"?: "tiny" | "small" | "default" | "medium" | "large"; /** * 获取支付相关信息,具体信息在返回值的 detail 字段中 */ bindGetPaymentInfo?: () => void; /** * 当发生错误时触发 error 事件,具体信息在返回值的 detail 字段中,例如 {detail: {errMsg: "something is wrong"}} */ bindError?: () => void; }