Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fare_PricePNRWithBookingClass 12_4_1 SOAP-ERROR #473

Open
tolya1984a opened this issue Jul 4, 2024 · 0 comments
Open

Fare_PricePNRWithBookingClass 12_4_1 SOAP-ERROR #473

tolya1984a opened this issue Jul 4, 2024 · 0 comments

Comments

@tolya1984a
Copy link

Hello!
Can you help me, please?

When try to call Fare_PricePNRWithBookingClass version 12_4_1 i have this result.

SOAP-ERROR: Encoding: object has no 'refQualifier' property

$pricingResponse = $Сlient->farePricePnrWithBookingClass(
    new FarePricePnrWithBookingClassOptions([
        'overrideOptions' => ['overrideOptions' => [FarePricePnrWithBookingClassOptions::OVERRIDE_FAREBASIS],
        'pricingsFareBasis' => [
            new FareBasis([
                'fareBasisCode' => 'XXXXX',
                'references' => [
                    new PaxSegRef([
                        'reference' => 1,
                        'type' => PaxSegRef::TYPE_SEGMENT
                    ])
                ]
            ])
        ]
    ])
);

An error occurs when adding:

   'references' => [
         new PaxSegRef([
             'reference' => 1,
              'type' => PaxSegRef::TYPE_SEGMENT
           ])
      ]

I found examples of how to send this message, but it doesn't work for me.
Why might this happen?

My php version is 8.2.20
Server Apache/2.4.56 (Debian)

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant