From 5e2ba7e3f585fc8e6dc068e22a0efbfdacd9c992 Mon Sep 17 00:00:00 2001 From: ndeet Date: Fri, 13 Sep 2024 16:54:13 +0200 Subject: [PATCH] Move description parameter to end to not cause breaking change in minor release. --- src/Client/PullPayment.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Client/PullPayment.php b/src/Client/PullPayment.php index 0c0bd16..109d3da 100644 --- a/src/Client/PullPayment.php +++ b/src/Client/PullPayment.php @@ -43,7 +43,6 @@ public function getStorePullPayments( public function createPullPayment( string $storeId, ?string $name = null, - ?string $description = null, PreciseNumber $amount, string $currency, ?int $period, @@ -51,7 +50,8 @@ public function createPullPayment( ?bool $autoApproveClaims = false, ?int $startsAt, ?int $expiresAt, - array $paymentMethods + array $paymentMethods, + ?string $description = null ): ResultPullPayment { $url = $this->getApiUrl() . 'stores/' . urlencode($storeId) . '/pull-payments';