UNPKG

@portone/browser-sdk

Version:

PortOne SDK for browser

27 lines (26 loc) 1.01 kB
import { Entity, IssueBillingKeyError, IssueBillingKeyResponse } from './index.js'; import { IssueBillingKeyUIType } from './entity/index.js'; export declare function loadIssueBillingKeyUI(request: LoadIssueBillingKeyUIRequest, callbacks: { onIssueBillingKeySuccess: (response: IssueBillingKeyResponse) => void; onIssueBillingKeyFail: (error: IssueBillingKeyError) => void; }): Promise<void>; export type LoadIssueBillingKeyUIRequest = { uiType: IssueBillingKeyUIType; displayAmount?: number; currency?: Entity.Currency; storeId: string; channelKey: string; pgProvider?: Entity.PgProvider; isTestChannel?: boolean; billingKeyMethod: Entity.BillingKeyMethod; issueName?: string; issueId?: string; customer?: Entity.Customer; redirectUrl?: string; locale?: Entity.Locale; customData?: Record<string, any>; appScheme?: string; noticeUrls?: string[]; productType?: Entity.ProductType; bypass?: Entity.LoadIssueBillingKeyUIBypass; };