import { WechatPaySignType } from '../../../constants/wechat-pay.constant'; import { BaseResponse } from '../base.response.interface'; interface PlaceOrderJSAPIResponseData { /** 服务商公众号AppId */ appId: string; /** 子商户公众号AppId */ subAppId?: string; /** * 时间戳 * @description 从1970年1月1日00:00:00至今的秒数,即当前的时间 */ timeStamp: string; /** 随机字符串,不长于32位 */ nonceStr: string; /** * 统一下单接口返回的 prepay_id 参数值 * @description 提交格式如:prepay_id=wx2017033010242291fcfe0db70013231072 */ package: string; /** 签名类型,因为本包采用v3版接口,故目前只接受RSA类型 */ signType: WechatPaySignType; /** 支付签名信息 */ paySign: string; } /** JSAPI统一下单方法返回类型 */ export interface PlaceOrderJSAPIResponse extends BaseResponse { } export {};