Closed therealartz closed 3 years ago
So how does this work? In your test, you add "count = 1" and 2 pax types, and then it adds one pax type of each? Then the "count" property is no longer named very appropriately.
It's not very intuitive to me, but ok. If you add a sample to the docs and explain how to use it, we can merge it.
@DerMika Amadeus returns us some specific private fares which is not getting returned by just asking unifares.
Of course I don't know how it will behave if ask to return ADT and CHD at once but when asking for this combination it works as expected.
However I don't see it strange since $ptc
property already is mapped as an array. $this->ptc[] = $passengerType;
it always was. Now we can pass not only one item there.
Added the sample.
Allright, as long as it's in the docs, I'm fine with this change :)
Need an ability to define several pax types at once:
Tested with PRD env.