This unique identifier forms the basis of what is known as the “License Plate”. They help provide a unique identifier during the complete journey. Baggage Tag Issuer Code (BTIC)īaggage tag issuer codes, combined with the tag serial number, are used to identify each piece of checked luggage through all baggage handling processes. Requirements are explained in the IATA Accounting and Prefix Code Requirements document (pdf). If you are interested in reviewing your eligibility and/or applying for an IATA Accounting and/or Prefix Code, please visit our IATA Codes page accessible via the IATA Customer Portal. Accounting or Prefix codesĪirline accounting codes and airline prefixes are essential for the identification of passenger and cargo traffic documents, processing of passenger accounting transactions, cargo transactions and other commercial/traffic purposes. Requirements are explained in the IATA Designator Code Requirements document (pdf). If you are interested in reviewing your eligibility and/or applying for an IATA Designator Code, please visit our IATA Codes page accessible via the IATA Customer Portal. Those companies assigned an IATA Airline Designator Code are to use such designators for reservations, schedules, timetables, telecommunications, ticketing, cargo documentation, legal, tariffs and/or other commercial/traffic purposes. Different IATA codes Airline Designator Codes They are also fundamental to the smooth running of hundreds of electronic applications which have been built around these coding systems for passenger and cargo traffic purposes. The only current option is customTypes.IATA Codes are an integral part of the travel industry and essential for the identification of an airline, its destinations and its traffic documents. It is an optional parameter to the typeCheck and parsedTypeCheck functions. You can use the wildcard * to search for any type at all.Ĭheck out the type precedence library for type-check. (String, Number).Īn array and tuple structure check that the value is of type Array by default, but if another type is specified, they will check for that instead - eg. Each element is separated by a comma - eg. Ī tuple checks for a fixed number of elements, each of a potentially different type. typeCheck typeCheck ( 'Number', 1 ) // true typeCheck ( 'Number', 'str' ) // false typeCheck ( 'Error', new Error ) // true typeCheck ( 'Undefined', undefined ) // true // Comment typeCheck ( 'count::Number', 1 ) // true // One type OR another type: typeCheck ( 'Number | String', 2 ) // true typeCheck ( 'Number | String', 'str' ) // true // Wildcard, matches all types: typeCheck ( '*', 2 ) // true // Array, all elements of a single type: typeCheck ( '', ) // true typeCheck ( '', ) // false // Tuples, or fixed length arrays with elements of different types: typeCheck ( '(String, Number)', ) // true typeCheck ( '(String, Number)', ) // false typeCheck ( '(String, Number)', ) // false // Object properties: typeCheck ( ' will match an object with an x property that is a boolean, and with zero or more other properties.įor an array, you must specify one or more types (separated by |) - it will pass for something of any length as long as each element passes the types provided - eg. Basic types: var typeCheck = require ( 'type-check' ).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |