@@ -31,7 +31,7 @@ |
||
| 31 | 31 | ->getMethodMapper($paymentMethod->getPaymentType()) |
| 32 | 32 | ->paymentRefund($orderTransfer, $partialOrderTransfer, $orderItems); |
| 33 | 33 | |
| 34 | - $response = $this->sendRequest((string)$request); |
|
| 34 | + $response = $this->sendRequest((string) $request); |
|
| 35 | 35 | $this->logInfo($request, $response, $paymentMethod->getPaymentType(), $paymentMethod->getFkSalesOrder(), $orderItems); |
| 36 | 36 | |
| 37 | 37 | if ($response->isSuccessful()) { |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | |
| 28 | 28 | $request = $paymentMethod |
| 29 | 29 | ->paymentInit($ratepayPaymentInitTransfer); |
| 30 | - $response = $this->sendRequest((string)$request); |
|
| 30 | + $response = $this->sendRequest((string) $request); |
|
| 31 | 31 | $this->logInfo($request, $response, $paymentMethodName); |
| 32 | 32 | |
| 33 | 33 | $initResponseTransfer = $this->converterFactory |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | ->getMethodMapper($paymentMethod->getPaymentType()) |
| 32 | 32 | ->paymentConfirm($orderTransfer); |
| 33 | 33 | |
| 34 | - $response = $this->sendRequest((string)$request); |
|
| 34 | + $response = $this->sendRequest((string) $request); |
|
| 35 | 35 | $this->logInfo($request, $response, $paymentMethod->getPaymentType(), $paymentMethod->getFkSalesOrder()); |
| 36 | 36 | |
| 37 | 37 | if ($response->isSuccessful()) { |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | |
| 28 | 28 | $request = $this->getMethodMapper($paymentMethodName) |
| 29 | 29 | ->paymentRequest($ratepayPaymentRequestTransfer); |
| 30 | - $response = $this->sendRequest((string)$request); |
|
| 30 | + $response = $this->sendRequest((string) $request); |
|
| 31 | 31 | $this->logInfo($request, $response, $paymentMethodName, $ratepayPaymentRequestTransfer->getOrderId()); |
| 32 | 32 | |
| 33 | 33 | $responseTransfer = $this->converterFactory |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | $request = $paymentMethod |
| 33 | 33 | ->calculationRequest($quoteTransfer); |
| 34 | 34 | |
| 35 | - $response = $this->sendRequest((string)$request); |
|
| 35 | + $response = $this->sendRequest((string) $request); |
|
| 36 | 36 | $this->logInfo($request, $response, $paymentMethodName); |
| 37 | 37 | |
| 38 | 38 | $responseTransfer = $this->converterFactory |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | ->getMethodMapper($paymentMethod->getPaymentType()) |
| 32 | 32 | ->deliveryConfirm($orderTransfer, $partialOrderTransfer, $orderItems); |
| 33 | 33 | |
| 34 | - $response = $this->sendRequest((string)$request); |
|
| 34 | + $response = $this->sendRequest((string) $request); |
|
| 35 | 35 | $this->logInfo($request, $response, $paymentMethod->getPaymentType(), $paymentMethod->getFkSalesOrder()); |
| 36 | 36 | |
| 37 | 37 | if ($response->isSuccessful()) { |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | 'request_type' => static::TRANSACTION_TYPE, |
| 73 | 73 | 'request_transaction_id' => (isset($headData['transaction-id'])) ? $headData['transaction-id'] : null, |
| 74 | 74 | 'request_transaction_short_id' => (isset($headData['transaction-short-id'])) ? $headData['transaction-short-id'] : null, |
| 75 | - 'request_body' => (string)$request, |
|
| 75 | + 'request_body' => (string) $request, |
|
| 76 | 76 | |
| 77 | 77 | 'response_type' => $response->getResponseType(), |
| 78 | 78 | 'response_result_code' => $response->getResultCode(), |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | ->getMethodMapper($paymentMethod->getPaymentType()) |
| 32 | 32 | ->paymentCancel($orderTransfer, $partialOrderTransfer, $orderItems); |
| 33 | 33 | |
| 34 | - $response = $this->sendRequest((string)$request); |
|
| 34 | + $response = $this->sendRequest((string) $request); |
|
| 35 | 35 | $this->logInfo($request, $response, $paymentMethod->getPaymentType(), $paymentMethod->getFkSalesOrder(), $orderItems); |
| 36 | 36 | |
| 37 | 37 | if ($response->isSuccessful()) { |
@@ -66,6 +66,6 @@ |
||
| 66 | 66 | */ |
| 67 | 67 | public function getTranslationFilePath() |
| 68 | 68 | { |
| 69 | - return __DIR__ . DIRECTORY_SEPARATOR . SharedRatepayConfig::GLOSSARY_FILE_PATH; |
|
| 69 | + return __DIR__.DIRECTORY_SEPARATOR.SharedRatepayConfig::GLOSSARY_FILE_PATH; |
|
| 70 | 70 | } |
| 71 | 71 | } |