@tplc/business
Version:
48 lines (47 loc) • 1.14 kB
TypeScript
export type CommitPageDetailParams = {
orderIndexToken?: string
userAddressId?: string
pointFlag?: boolean
useWalletPrice?: number
pickupInfo?: {
address: string
longitude: string
latitude: string
title: string
distance: number
}
orderType: string
/** 下单使用的积分数量 */
point?: number
/** 政府补贴 */
payType?: string
govVoucherId?: string
postageType?: number
/** 选择支付的钱包ID */
walletAccountId?: string
/** 平台优惠券 */
platformVoucherId?: string
orderNo?: string
/** 商家优惠券抵扣 */
merchantVoucherId?: string
productId?: string
toStoreFlag?: boolean
remark?: string
contactsPhone?: string
contactsName?: string
buyQuantity?: number
toStoreTime?: string
selectRemark?: string[]
}
/** 提交订单 */
export declare const commitOrder: (info: CommitPageDetailParams) => Promise<
import('../action').IResData<{
orderNo: string
paymentParams: any
wakePayment: boolean
}>
>
/** 查询订单支付状态 */
export declare const queryOrderPaymentStatus: (orderNo: string) => Promise<{
status: number
}>