src/Amadeus/Client/Struct/Ticket/DisplayTST.php
protected function loadReferences($params)
    {
        if ($this->checkAnyNotEmpty($params->passengers, $params->segments)) {
            $this->psaInformation = new PsaInformation();

            foreach ($params->passengers as $passenger) {
                $this->psaInformation->refDetails[] = new RefDetails($passenger, RefDetails::QUAL_PASSENGER);
            }

            foreach ($params->segments as $segment) {
                $this->psaInformation->refDetails[] = new RefDetails($segment, RefDetails::QUAL_SEGMENT_REFERENCE);
            }
        }
    }
protected function loadReferences($params)
    {
        if ($this->checkAnyNotEmpty($params->passengers, $params->segments)) {
            $this->psaInformation = new PsaInformation();

            foreach ($params->passengers as $passenger) {
                $this->psaInformation->refDetails[] = new RefDetails($passenger, RefDetails::QUAL_PASSENGER);
            }

            foreach ($params->segments as $segment) {
                $this->psaInformation->refDetails[] = new RefDetails($segment, RefDetails::QUAL_SEGMENT_REFERENCE);
            }
        }
    }
Load passenger & segment references

@param TicketDisplayTstOptions $params