@portone/server-sdk
Version:
PortOne JavaScript SDK for server-side usage
30 lines (29 loc) • 1.11 kB
TypeScript
import type { Unrecognized } from "./../../utils/unrecognized.js";
import type { CancelledPayment } from "./../payment/CancelledPayment.js";
import type { FailedPayment } from "./../payment/FailedPayment.js";
import type { PaidPayment } from "./../payment/PaidPayment.js";
import type { PartialCancelledPayment } from "./../payment/PartialCancelledPayment.js";
import type { PayPendingPayment } from "./../payment/PayPendingPayment.js";
import type { ReadyPayment } from "./../payment/ReadyPayment.js";
import type { VirtualAccountIssuedPayment } from "./../payment/VirtualAccountIssuedPayment.js";
/** 결제 건 */
export type Payment =
/** 결제 취소 */
CancelledPayment
/** 결제 실패 */
| FailedPayment
/** 결제 완료 */
| PaidPayment
/** 결제 부분 취소 */
| PartialCancelledPayment
/** 결제 완료 대기 */
| PayPendingPayment
/** 결제 준비 */
| ReadyPayment
/** 가상계좌 발급 완료 */
| VirtualAccountIssuedPayment | {
readonly status: Unrecognized;
};
export declare function isUnrecognizedPayment(entity: Payment): entity is {
readonly status: Unrecognized;
};