Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Releases: heidelpay/php-payment-api

v1.2.0 - Custom HTTP Adapter Injection, Criterion ParameterGroup Custom Property Getter

14 Dec 12:47
Compare
Choose a tag to compare

PHP Payment API Release v1.2.0

Custom HTTP Adapter, Criterion ParameterGroup Custom Getter

Added

  • HttpAdapterInterface to allow injecting a custom http adapter.
  • Criterion get() method for custom properties

You can now retrieve custom properties set by getCriterion()->set('field', 'value') by calling getCriterion()->get('field') on your Request/Response instance.

Changed

  • Refactored Requests send method to only create a CurlAdapter object when needed.
  • Refactored unit tests to inject a CurlAdapter object instead of an InterfaceProxy object.