PaymentLifecycle — @gj-kit/toss-payments
A public type from @gj-kit/toss-payments. The signature below is taken directly from the 0.6.1 release declaration.
Verified import example
Section titled “Verified import example”import { PaymentLifecycle } from '@gj-kit/toss-payments';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * 결제 상태 스냅샷과 변경 요약. * * Payment 상태는 단방향 상태 머신이 아니다. 특히 입금 오류로 * DONE -> WAITING_FOR_DEPOSIT 역전이가 가능하므로, 이 모듈은 전이를 허용/거부하지 않고 * 두 관측값의 차이만 기술한다. 영속화 순서와 동시성 제어는 호출자의 저장소가 맡는다. */type PaymentLifecycle = "pending" | "awaiting-deposit" | "paid" | "cancellation-pending" | "partially-canceled" | "fully-canceled" | "failed" | "expired" | "inconsistent";This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.
Release context
Section titled “Release context”- Package:
@gj-kit/toss-payments - Version:
0.6.1 - Public entry:
. - Source: GitHub