File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,18 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
26
26
### Changed
27
27
* Remove redundant ` currency ` parameter from ` Unzer::chargePayment() ` method.
28
28
* Add ` geoLocation ` property to all payment type classes.
29
- * Mark ` InvoiceSecured ` payment type as deprecated.
30
29
* Several minor improvements.
31
30
* Add account information coming from PAPI to Authorize class.
32
31
32
+ ### Deprecated
33
+ * Classes
34
+ * Mark ` InvoiceSecured ` as deprecated, will be replaced by ` PaylaterInvoice ` .
35
+ * Methods
36
+ * Mark ` Unzer::authorize() ` as deprecated. Please use ` Unzer::performAuthorization() ` instead.
37
+ * Mark ` Unzer::charge() ` as deprecated. Please use ` Unzer::performCharge() ` instead.
38
+ * Mark ` Unzer::chargePayment() ` as deprecated. Please use ` Unzer::performChargeOnPayment() ` instead.
39
+ * Mark ` Unzer::chargeAuthorization() ` as deprecated. Please use ` Unzer::performChargeOnPayment() ` instead.
40
+
33
41
## [ 1.1.5.0] ( https://github.com/unzerdev/php-sdk/compare/1.1.4.2..1.1.5.0 )
34
42
### Added
35
43
* Add Support for basket ` v2 ` resource.
Original file line number Diff line number Diff line change @@ -194,6 +194,8 @@ public function performChargeOnPayment(
194
194
* Performs a Charge transaction for the Authorization of the given Payment object.
195
195
* To perform a full charge of the authorized amount leave the amount null.
196
196
*
197
+ * @deprecated since 1.2.0.0 please use performChargeOnPayment() instead.
198
+ *
197
199
* @param string|Payment $payment The Payment object the Authorization to charge belongs to.
198
200
* @param float|null $amount The amount to charge.
199
201
* @param string|null $orderId The order id from the shop.
@@ -214,6 +216,8 @@ public function chargeAuthorization(
214
216
/**
215
217
* Performs a Charge transaction for a specific Payment and returns the resulting Charge object.
216
218
*
219
+ * @deprecated since 1.2.0.0 please use performChargeOnPayment() instead.
220
+ *
217
221
* @param Payment|string $payment The Payment object to be charged.
218
222
* @param float|null $amount The amount to charge.
219
223
* @param string|null $orderId The order id from the shop.
You can’t perform that action at this time.
0 commit comments