Documentation
    Preparing search index...
    • Generate ancillary services update XML for the given booking and service payload.

      NOTE: the original code used complex TypeScript-style import types in JSDoc which caused parsing errors with plain JSDoc. We use simple object/array descriptions so the docs generator can parse these comments.

      Parameters

      • order: any

        Booking object containing at least a flights array.

      • data: any

        Service payload containing Service (array) and paxs (array).

      • sessionToken: string

        session token used by the XML wrapper.

      Returns string

      The UpdateReservation XML for ancillary services.