@portone/server-sdk
Version:
PortOne JavaScript SDK for server-side usage
18 lines (17 loc) • 711 B
TypeScript
import type { Unrecognized } from "./../../utils/unrecognized.js";
import type { CancelledPaymentEvent } from "./../payment/CancelledPaymentEvent.js";
import type { PaidPaymentEvent } from "./../payment/PaidPaymentEvent.js";
import type { PartialCancelledPaymentEvent } from "./../payment/PartialCancelledPaymentEvent.js";
/** 결제 이벤트 */
export type PaymentEvent =
/** 결제 취소 이벤트 */
CancelledPaymentEvent
/** 결제 완료 이벤트 */
| PaidPaymentEvent
/** 결제 부분 취소 이벤트 */
| PartialCancelledPaymentEvent | {
readonly type: Unrecognized;
};
export declare function isUnrecognizedPaymentEvent(entity: PaymentEvent): entity is {
readonly type: Unrecognized;
};