Repository navigation
feat(payments): add PaymentSetup accommodation/airline fields - #378
armando-rodriguez-cko merged 1 commit into
Conversation
Adds total_number_of_guests, refundable, delivery_recipient and host
to AccommodationData, and total_number_of_passengers, travel_type,
trip_type, refundable, delivery_recipient, ancillaries and insurance
to AirlineData (POST/GET/PUT /payments/setups, POST
/payments/setups/{id}/confirm/{payment_method_name}).
Splits AccommodationData into a Setups-only type instead of adding
fields to the shared Payments AccommodationData, which is also used
by seven unrelated non-Setups request types.
🟡 Risk Classification: MINORApproval route: AI Review + Human Approval Classification reasons
Operational gates
Files analysed: 7 wall-e 2026.06.19-02 · policy |
🔬 Debug — why this classification?Each reason code emitted by the classifier, its source clause in the AI in SDLC Control Framework, and what it means.
Kinds:
See issue #3 for the proposal to formalise this map as Appendix A of the standards doc. wall-e 2026.06.19-02 · debug |
🟢 Advisory review: Looks good to meThis PR still needs a human approval — wall-e cannot auto-approve it. For what it's worth, I read the diff and found nothing I'd block on. Adds new PaymentSetupAccommodation and airline fields as additive data-model changes with matching serialization tests; the implementation matches the stated intent and no blocking issues were found. What I checked
This is not an approval. wall-e cannot auto-approve this PR — it is an opinion to help whoever does. Advisory review · us.anthropic.claude-sonnet-4-6 · wall-e 2026.06.19-02 |
|



Summary
Adds the new PaymentSetupAccommodation and PaymentSetupAirline fields from the 2026-09-08 spec update to
POST/GET/PUT /payments/setupsandPOST /payments/setups/{id}/confirm/{payment_method_name}.Changes
AccommodationData.php(new),AccommodationHost.php(new) — fullPaymentSetupAccommodationmodel, split out of the shared PaymentsAccommodationData, which is also used by seven unrelated non-Setups request typesAirlineData.php— addedtotal_number_of_passengers,travel_type,trip_type,refundable,delivery_recipient,ancillaries,insuranceAirlineInsurance.php(new),AirlineInsurancePrice.php(new) — nested insurance modelIndustry.php— updated to reference the new dedicated accommodation typePaymentSetupFieldsSerializationTest.php— added roundtrip coverage for every new field on both schemasAPI Reference
POST /payments/setupsPUT /payments/setups/{id}GET /payments/setups/{id}POST /payments/setups/{id}/confirm/{payment_method_name}Breaking changes
None. All changes are additive.
README
No README changes needed.