Skip to content

Commit df721ca

Browse files
authored
Merge pull request #175 from unzerdev/develop
Develop
2 parents 632ce4c + 4d8b80b commit df721ca

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

CHANGELOG.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres
66
to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [3.4.1](https://github.com/unzerdev/php-sdk/compare/3.4.0..3.4.1)
9+
10+
Revert deprecation of Sepa Direct Debit type.
11+
12+
### Changed
13+
* Revert deprecation of `\UnzerSDK\Resources\PaymentTypes\SepaDirectDebit`.
14+
815
## [3.4.0](https://github.com/unzerdev/php-sdk/compare/3.3.0..3.4.0)
916

1017
This version adds support for Paylater Direct Debit payment method.
@@ -18,12 +25,12 @@ This version adds support for Paylater Direct Debit payment method.
1825
* Add bank account information to `\UnzerSDK\Resources\PaymentTypes\Sofort` class.
1926

2027
### Changed
21-
* Allow 'null' for setters in '\UnzerSDK\Traits\HasAccountInformation' trait to avoid error when e.g. API response contains empty bic.
28+
* Allow `null` for setters in `\UnzerSDK\Traits\HasAccountInformation` trait to avoid error when e.g. API response contains empty bic.
2229
* Apple Pay example: Moved merchant identifier to constant in `_enableExamples.php` where it can be configured.
2330

2431
### Deprecated
25-
* `\UnzerSDK\Resources\PaymentTypes\SepaDirectDebit`, please use `\UnzerSDK\Resources\PaymentTypes\PaylaterDirectDebit'`.
26-
* `\UnzerSDK\Resources\PaymentTypes\SepaDirectDebitSecured`, please use `\UnzerSDK\Resources\PaymentTypes\PaylaterDirectDebit'`.
32+
* `\UnzerSDK\Resources\PaymentTypes\SepaDirectDebit`, please use `\UnzerSDK\Resources\PaymentTypes\PaylaterDirectDebit`.
33+
* `\UnzerSDK\Resources\PaymentTypes\SepaDirectDebitSecured`, please use `\UnzerSDK\Resources\PaymentTypes\PaylaterDirectDebit`.
2734

2835
## [3.3.0](https://github.com/unzerdev/php-sdk/compare/3.2.0..3.3.0)
2936
### Added

src/Resources/PaymentTypes/SepaDirectDebit.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
use UnzerSDK\Traits\CanPayout;
1313
use UnzerSDK\Traits\CanRecur;
1414

15-
/** @deprecated please use PaylaterDirectDebit instead.
16-
*/
1715
class SepaDirectDebit extends BasePaymentType
1816
{
1917
use CanDirectCharge;

src/Unzer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Unzer implements
5353
public const BASE_URL = 'api.unzer.com';
5454
public const API_VERSION = 'v1';
5555
public const SDK_TYPE = 'UnzerPHP';
56-
public const SDK_VERSION = '3.4.0';
56+
public const SDK_VERSION = '3.4.1';
5757

5858
/** @var string $key */
5959
private $key;

0 commit comments

Comments
 (0)