@@ -158,7 +158,7 @@ |
||
158 | 158 | * @link https://docs.payever.org/shopsystems/api/getting-started/api/order-management/cancel Documentation |
159 | 159 | * |
160 | 160 | * @param string $paymentId Payment ID |
161 | - * @param float $amount Specify the cancel/partial cancel amount. If no amount is set, the whole amount will be cancelled. |
|
161 | + * @param float $amount Specify the cancel/partial cancel amount. If no amount is set, the whole amount will be cancelled. |
|
162 | 162 | * |
163 | 163 | * @return ResponseInterface |
164 | 164 | */ |
@@ -318,13 +318,13 @@ |
||
318 | 318 | $this->configuration->assertLoaded(); |
319 | 319 | |
320 | 320 | $request = RequestBuilder::post($this->getCancelPaymentURL($paymentId)) |
321 | - ->setParams([ |
|
321 | + ->setParams([ |
|
322 | 322 | 'amount' => $amount, |
323 | 323 | ]) |
324 | 324 | ->addRawHeader( |
325 | 325 | $this->getToken(OauthToken::SCOPE_PAYMENT_ACTIONS)->getAuthorizationString() |
326 | 326 | ) |
327 | - ->setRequestEntity(new CancelPaymentRequest()) |
|
327 | + ->setRequestEntity(new CancelPaymentRequest()) |
|
328 | 328 | ->setResponseEntity(new CancelPaymentResponse()) |
329 | 329 | ->build(); |
330 | 330 |