Skip to content

RemainingCalendarDaysInput — @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.

import { RemainingCalendarDaysInput } from '@gj-kit/toss-payments';
interface RemainingCalendarDaysInput {
/** YYYY-MM-DD, 서비스 시작일 포함. */
readonly startsOn: string;
/** YYYY-MM-DD, 서비스 종료일 미포함 — 기간은 [startsOn, endsOnExclusive). */
readonly endsOnExclusive: string;
readonly evaluatedAt: Date;
/** IANA time zone (예: Asia/Seoul). */
readonly timeZone: string;
/** 요청 당일을 환불 대상에 포함할지 명시한다. */
readonly requestDay: "refundable" | "consumed";
}

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