oak-pay-business/es/aspects/ship.d.ts

25 lines
584 B
TypeScript

import { BRC } from '../types/RuntimeCxt';
/**
* 获取小程序订单发货状态
* @param params
* @param context
*/
export declare function getMpShipState(params: {
shipId: string;
}, context: BRC): Promise<string | undefined>;
/**
* 获取打印面单
*/
export declare function getExpressPrintInfo(params: {
shipId: string;
}, context: BRC): Promise<{
type: "html";
data: string;
}>;
/**
* 小程序确认收货组件成功后更新ship状态
*/
export declare function shipConfirmSuccess(params: {
shipId: string;
}, context: BRC): Promise<boolean>;