Anonymous — @gj-kit/toss-payments
A public type from @gj-kit/toss-payments/browser. The signature below is taken directly from the 0.6.1 release declaration.
Verified import example
Section titled “Verified import example”import { Anonymous } from '@gj-kit/toss-payments/browser';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * 결제위젯 — loadWidgets 3단계 typestate. * * SDK 문서의 순서 제약(setAmount가 렌더링·결제요청보다 반드시 선행)을 * "메서드 부재"로 강제한다: 각 상태 타입에는 그 시점에 허용된 메서드만 존재한다. * 상태 0 TossWidgets — setAmount만 * 상태 1 TossWidgetsWithAmount — render 2종 + setAmount(금액 변경) * 상태 2 RenderedTossWidgets — 여기서만 requestPayment *//** * 비회원 결제 표식 — SDK ANONYMOUS의 브랜딩 재노출. * 빌링 인증(requestBillingAuth)의 customer 파라미터에는 대입 불가한 타입이다 * (빌링은 고유 customerKey 전제 — 연구문서 §빌링). */type Anonymous = Brand<'Anonymous'>;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:
./browser - Source: GitHub