Skip to content

Adyen PHP API Library 15.0.0-beta

Choose a tag to compare

@jillingk jillingk released this 18 Apr 14:24
· 651 commits to main since this release
d38ce4f

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 🛠

New Features 💎

Other Changes 🖇️

New Contributors

Full Changelog: 14.0.1...15.0.0-beta