@portone/server-sdk
Version:
PortOne JavaScript SDK for server-side usage
34 lines (33 loc) • 1.37 kB
TypeScript
import type { Unrecognized } from "./../../utils/unrecognized.js";
import type { BeforeRegisteredPaymentEscrow } from "./../payment/BeforeRegisteredPaymentEscrow.js";
import type { CancelledPaymentEscrow } from "./../payment/CancelledPaymentEscrow.js";
import type { ConfirmedPaymentEscrow } from "./../payment/ConfirmedPaymentEscrow.js";
import type { DeliveredPaymentEscrow } from "./../payment/DeliveredPaymentEscrow.js";
import type { RegisteredPaymentEscrow } from "./../payment/RegisteredPaymentEscrow.js";
import type { RejectConfirmedPaymentEscrow } from "./../payment/RejectConfirmedPaymentEscrow.js";
import type { RejectedPaymentEscrow } from "./../payment/RejectedPaymentEscrow.js";
/**
* 에스크로 정보
*
* V1 결제 건의 경우 타입이 REGISTERED 로 고정됩니다.
*/
export type PaymentEscrow =
/** 배송 정보 등록 전 */
BeforeRegisteredPaymentEscrow
/** 거래 취소 */
| CancelledPaymentEscrow
/** 구매 확정 */
| ConfirmedPaymentEscrow
/** 배송 완료 */
| DeliveredPaymentEscrow
/** 배송 정보 등록 완료 */
| RegisteredPaymentEscrow
/** 구매 거절 */
| RejectedPaymentEscrow
/** 구매 거절 확정 */
| RejectConfirmedPaymentEscrow | {
readonly status: Unrecognized;
};
export declare function isUnrecognizedPaymentEscrow(entity: PaymentEscrow): entity is {
readonly status: Unrecognized;
};