Trường · Record Locator
Trường · Record Locator · airline.recordLocator. Phương thức tạo · Ví dụ
airline.recordLocator
Cài đặt trình tạo
Tạo dữ liệu để xem kết quả ở đây.
Tham số & Ví dụ
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.
Ví dụ
"SDRBSK"Dùng dữ liệu tổng hợp trong môi trường kiểm thử.