Skip to content

remainingCalendarDays — @gj-kit/toss-payments

A public function from @gj-kit/toss-payments. The signature below is taken directly from the 0.6.1 release declaration.

import { remainingCalendarDays } from '@gj-kit/toss-payments';
/**
* IANA 시간대의 달력 일수로 totalUnits/remainingUnits를 만든다.
* 반환값은 remaining-units 정책 quote 입력에 그대로 펼칠 수 있다.
*/
declare function remainingCalendarDays(input: RemainingCalendarDaysInput): Result<RemainingCalendarDays, RefundCalendarError>;

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.

  • Package: @gj-kit/toss-payments
  • Version: 0.6.1
  • Public entry: .
  • Source: GitHub