@portone/browser-sdk
Version:
PortOne SDK for browser
25 lines (24 loc) • 693 B
TypeScript
import { Entity } from '../index.js';
import { OneOfType } from '../../utils.js';
export type Installment = {
freeInstallmentPlans?: Entity.FreeInstallmentPlan[];
/**
* 할부 개월수 옵션
* - fixedMonth: 고정 할부 개월수
* - availableMonthList: 렌더링을 허용 할 할부 개월수 리스트
*
* 예1) 3개월 고정 할부 개월수
* monthOption: {
* fixedMonth: 3
* }
*
* 예2) 2, 3, 4, 5, 6개월 리스트 할부 개월수
* monthOption: {
* availableMonthList: [2, 3, 4, 5, 6]
* }
*/
monthOption?: OneOfType<{
fixedMonth: number;
availableMonthList: number[];
}>;
};