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
2626### Changed
2727* Remove redundant ` currency ` parameter from ` Unzer::chargePayment() ` method.
2828* Add ` geoLocation ` property to all payment type classes.
29- * Mark ` InvoiceSecured ` payment type as deprecated.
3029* Several minor improvements.
3130* Add account information coming from PAPI to Authorize class.
3231
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+
3341## [ 1.1.5.0] ( https://github.com/unzerdev/php-sdk/compare/1.1.4.2..1.1.5.0 )
3442### Added
3543* Add Support for basket ` v2 ` resource.
Original file line number Diff line number Diff line change @@ -194,6 +194,8 @@ public function performChargeOnPayment(
194194 * Performs a Charge transaction for the Authorization of the given Payment object.
195195 * To perform a full charge of the authorized amount leave the amount null.
196196 *
197+ * @deprecated since 1.2.0.0 please use performChargeOnPayment() instead.
198+ *
197199 * @param string|Payment $payment The Payment object the Authorization to charge belongs to.
198200 * @param float|null $amount The amount to charge.
199201 * @param string|null $orderId The order id from the shop.
@@ -214,6 +216,8 @@ public function chargeAuthorization(
214216 /**
215217 * Performs a Charge transaction for a specific Payment and returns the resulting Charge object.
216218 *
219+ * @deprecated since 1.2.0.0 please use performChargeOnPayment() instead.
220+ *
217221 * @param Payment|string $payment The Payment object to be charged.
218222 * @param float|null $amount The amount to charge.
219223 * @param string|null $orderId The order id from the shop.
You can’t perform that action at this time.
0 commit comments