This repository has been archived by the owner on Mar 29, 2022. It is now read-only.
Releases: heidelpay/php-payment-api
Releases · heidelpay/php-payment-api
v1.2.0 - Custom HTTP Adapter Injection, Criterion ParameterGroup Custom Property Getter
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.