UNPKG

@portone/browser-sdk

Version:

PortOne SDK for browser

30 lines (29 loc) 1.3 kB
import { CheckoutServiceErrorCode } from './CheckoutServiceErrorCode.js'; import { GrpcErrorCode } from './GrpcErrorCode.js'; import { PortOneError } from './index.js'; import { TxServiceIssueErrorCode } from './TxServiceIssueErrorCode.js'; import { TxServicePayErrorCode } from './TxServicePayErrorCode.js'; export type IssueBillingKeyAndPayErrorCode = CheckoutServiceErrorCode | GrpcErrorCode | TxServiceIssueErrorCode | TxServicePayErrorCode; export declare function isIssueBillingKeyAndPayError(error: unknown): error is IssueBillingKeyAndPayError; export declare class IssueBillingKeyAndPayError extends Error implements PortOneError { static [Symbol.hasInstance](instance: unknown): boolean; __portOneErrorType: string; transactionType: "ISSUE_BILLING_KEY_AND_PAY"; txId?: string; paymentId?: string; billingKey?: string; code: IssueBillingKeyAndPayErrorCode; message: string; pgCode?: string; pgMessage?: string; constructor({ txId, paymentId, billingKey, code, message, pgCode, pgMessage, }: { txId?: string; paymentId?: string; billingKey?: string; code: IssueBillingKeyAndPayErrorCode; message: string; pgCode?: string; pgMessage?: string; }); } export default IssueBillingKeyAndPayError;