필드 · Record Locator

필드 · Record Locator · airline.recordLocator. 생성 메서드 · 예시

airline.recordLocator

생성 설정

데이터를 생성하면 결과가 표시됩니다.

매개변수 & 예시

Generates a random record locator. Record locators are used by airlines to identify reservations. They're also known as booking reference numbers, locator codes, confirmation codes, or reservation codes.

airline.recordLocator(options?: { allowNumerics?, allowVisuallySimilarCharacters? })
options
The options to use.
options.allowNumerics
Whether to allow numeric characters. Defaults to false.
options.allowVisuallySimilarCharacters
Whether to allow visually similar characters such as '1' and 'I'. Defaults to false.

예시

"SDRBSK"

테스트 환경에서 합성 데이터를 사용하세요.

관련 생성기

시나리오 탐색