Repository navigation
Adyen PHP API Library 15.0.0-beta
What's Changed
Models
With this new update we have added support for models that are one to one with our API. This means that we also created new service classes that use the respective models and provide additional description and functionalities. These models include getter/setters, constructors, support for serialization, ArrayAccess and some minor validation + constants for enum values (we can't provide real enums as we still continue to support lower php versions).
List of services containing support for models
- Checkout (*)
- Payouts (*)
- Recurring
- BinLookup
- POSTerminalManagement
- Management (*)
- LegalEntityManagement (*)
- Configuration (*)
- Transfers (*)
- Classic Payments Integration (*)
- BalanceControl
- DataProtection
- StoredValue
These endpoints coexist (for now) with the old service implementation with arrays. The new endpoints can be recognised by the -Api suffix. Endpoints with the * tag exist of a directory containing subservices.
ArrayAccess
The old services will be deprecated on the next major. The new models implements ArrayAccess and should therefore be easy to migrate using the old arrays, as the object can be instantiated with arrays and parameters can be retrieved with the same array functionalities.
Breaking Changes 🛠
- rename notificationReceiver to webhookReceiver by @wboereboom in #484
New Features 💎
- [ITT-406] Generated Model Based Checkout V70 by @jillingk in #463
- [ITT-402] BalancePlatform API by @jillingk in #470
- [ITT-407] Generate Classic Payments by @jillingk in #467
- [ITT-405] Model Based Management Endpoints by @jillingk in #468
- [ITT-411] POSTerminalManagement endpoints by @jillingk in #477
- [ITT-413] Data Protection API by @michaelpaul in #480
- [ITT-409] Payouts API by @jillingk in #475
- [ITT-414] BalanceControl API by @jillingk in #479
- [ITT-408] Generate Recurring API by @jillingk in #474
- [ITT-412] StoredValue API by @jillingk in #478
- [ITT-403] LegalEntityManagement endpoints by @jillingk in #471
- [ITT-404] Transfers Endpoints by @jillingk in #472
- [ITT-410] BinLookup API by @jillingk in #476
- [ITT-37] Add App info Headers to PHP Lib by @jillingk in #482
- [ITT-450] Add service and model generation pipeline by @jillingk in #483
- Deprecate old services by @jillingk in #492
- Create release.yml by @jillingk in #491
- Regenerate models/services with the camelCase inner arrayAccess by @jillingk in #486
- [ITT-477] Adjust README in preparation of release by @jillingk in #485
- Finalising for release by @jillingk in #495
Other Changes 🖇️
- [ITT-398] Final Changes to prepare for Model/Service Automation by @jillingk in #457
- Merge Main to Develop by @jillingk in #469
- Update dependency phpunit/phpunit to v9.6.7 by @renovate in #459
- CurlClient request fix by @jillingk in #464
New Contributors
Full Changelog: 14.0.1...15.0.0-beta