Skip to content

ProcessingData class fields update#606

Open
david-ruiz-cko wants to merge 1 commit into
masterfrom
feature/INT-1634
Open

ProcessingData class fields update#606
david-ruiz-cko wants to merge 1 commit into
masterfrom
feature/INT-1634

Conversation

@david-ruiz-cko
Copy link
Copy Markdown
Contributor

This pull request enhances the ProcessingData model to align with the latest Checkout.com API specification, adding support for several new fields related to payment processing, and introduces comprehensive deserialization tests to ensure correct handling of these fields.

Model enhancements:

  • Added new fields to ProcessingData to support additional payment processing information, including scheme, partnerFraudStatus, partnerMerchantAdviceCode, accommodationData, and airlineData. These fields provide more granular details about the payment, such as the network used, fraud status, merchant advice codes, and booking information for accommodations and airlines.
  • Imported the necessary model classes (AccommodationData and AirlineData) to support the new list fields in ProcessingData.

Test coverage:

  • Introduced a new test class ProcessingDataDeserializationTest that verifies deserialization of all newly added fields, as well as their correct handling when absent, ensuring robust compatibility with the updated API contract.

@david-ruiz-cko david-ruiz-cko requested a review from a team June 2, 2026 16:05
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 2, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants