RefundPolicy — @gj-kit/toss-payments
A public interface 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 { RefundPolicy } from '@gj-kit/toss-payments';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”interface RefundPolicy<Input extends RefundQuoteInput = RefundQuoteInput> extends Brand<"RefundPolicy"> { readonly id: string; readonly version: string; readonly kind: RefundPolicyKind; quote(input: Input): Result<RefundQuote, RefundQuoteError>; /** 저장 JSON을 활성 policy와 동일 입력으로 재계산해 실행 가능한 quote로 복원한다. */ restoreQuote(stored: unknown, input: Input): Result<RefundQuote, RefundQuoteRestoreError>;}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