interface OpenPayPopupParams {
    amount: string;
    extra?: string;
    message: string;
    order_id: string;
    result?: ((__namedParameters: {
        errorMsg?: string;
        extra: undefined | string;
        status: InvoiceStatus;
    }) => void);
    start?: ((payItem: {
        amount: string | number;
        token: PayTypes;
    }) => void);
    title: string;
    type: "PAY";
}

Hierarchy

  • OpenPayBaseParams
    • OpenPayPopupParams

Properties

amount: string
extra?: string

扩展信息

'''
message: string
order_id: string
result?: ((__namedParameters: {
    errorMsg?: string;
    extra: undefined | string;
    status: InvoiceStatus;
}) => void)

支付结果回调

start?: ((payItem: {
    amount: string | number;
    token: PayTypes;
}) => void)

开始支付回调

title: string
type: "PAY"

当前支付弹窗类型

'PAY'