@@ -17,7 +17,7 @@ |
||
| 17 | 17 | class AuthorizeTransactionHandler implements AuthorizeTransactionHandlerInterface |
| 18 | 18 | { |
| 19 | 19 | public const ERROR_MESSAGE_AUTHORIZE_TRANSACTION_NOT_SUPPORTED = |
| 20 | - 'Attempt to call authorize transaction on payment method \'%s\' ' . |
|
| 20 | + 'Attempt to call authorize transaction on payment method \'%s\' '. |
|
| 21 | 21 | 'that does not support it'; |
| 22 | 22 | /** |
| 23 | 23 | * @var \SprykerEco\Zed\Heidelpay\Business\Payment\Transaction\AuthorizeTransactionInterface |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | class DebitTransactionHandler implements DebitTransactionHandlerInterface |
| 18 | 18 | { |
| 19 | 19 | public const ERROR_MESSAGE_DEBIT_TRANSACTION_NOT_SUPPORTED = |
| 20 | - 'Attempt to call debit transaction on payment method \'%s\' ' . |
|
| 20 | + 'Attempt to call debit transaction on payment method \'%s\' '. |
|
| 21 | 21 | 'that does not support it'; |
| 22 | 22 | |
| 23 | 23 | /** |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | class ExternalResponseTransactionHandler implements ExternalResponseTransactionHandlerInterface |
| 20 | 20 | { |
| 21 | 21 | public const ERROR_MESSAGE_EXTERNAL_RESPONSE_TRANSACTION_NOT_SUPPORTED = |
| 22 | - 'Attempt to call external response transaction on payment method \'%s\' ' . |
|
| 22 | + 'Attempt to call external response transaction on payment method \'%s\' '. |
|
| 23 | 23 | 'that does not support it'; |
| 24 | 24 | |
| 25 | 25 | /** |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | class ReservationTransactionHandler implements ReservationTransactionHandlerInterface |
| 17 | 17 | { |
| 18 | 18 | public const ERROR_MESSAGE_RESERVATION_TRANSACTION_NOT_SUPPORTED = |
| 19 | - 'Attempt to call reservation transaction on payment method \'%s\' ' . |
|
| 19 | + 'Attempt to call reservation transaction on payment method \'%s\' '. |
|
| 20 | 20 | 'that does not support it'; |
| 21 | 21 | |
| 22 | 22 | /** |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | class InitializeTransactionHandler implements InitializeTransactionHandlerInterface |
| 17 | 17 | { |
| 18 | 18 | public const ERROR_MESSAGE_INITIALIZE_TRANSACTION_NOT_SUPPORTED = |
| 19 | - 'Attempt to call initialize transaction on payment method \'%s\' ' . |
|
| 19 | + 'Attempt to call initialize transaction on payment method \'%s\' '. |
|
| 20 | 20 | 'that does not support it'; |
| 21 | 21 | |
| 22 | 22 | /** |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | class AuthorizeOnRegistrationTransactionHandler implements AuthorizeOnRegistrationTransactionHandlerInterface |
| 16 | 16 | { |
| 17 | 17 | public const ERROR_MESSAGE_AUTHORIZE_ON_REGISTRATION_TRANSACTION_NOT_SUPPORTED = |
| 18 | - 'Attempt to call authorize on registration transaction on payment method \'%s\' ' . |
|
| 18 | + 'Attempt to call authorize on registration transaction on payment method \'%s\' '. |
|
| 19 | 19 | 'that does not support it'; |
| 20 | 20 | /** |
| 21 | 21 | * @var \SprykerEco\Zed\Heidelpay\Business\Payment\Transaction\AuthorizeOnRegistrationTransactionInterface |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | class FinalizeTransactionHandler implements FinalizeTransactionHandlerInterface |
| 17 | 17 | { |
| 18 | 18 | public const ERROR_MESSAGE_FINALIZE_TRANSACTION_NOT_SUPPORTED = |
| 19 | - 'Attempt to call finalize transaction on payment method \'%s\' ' . |
|
| 19 | + 'Attempt to call finalize transaction on payment method \'%s\' '. |
|
| 20 | 20 | 'that does not support it'; |
| 21 | 21 | |
| 22 | 22 | /** |
@@ -61,13 +61,13 @@ |
||
| 61 | 61 | ->setAmortisationText($responseAsArray[static::EASYCREDIT_AMORTISATION_TEXT]) |
| 62 | 62 | ->setPreContractionInformationUrl($responseAsArray[static::EASYCREDIT_PRECONTRACT_INFORMATION_URL]) |
| 63 | 63 | ->setAccruingInterest( |
| 64 | - $this->moneyPlugin->convertDecimalToInteger((float)$responseAsArray[static::EASYCREDIT_ACCRUING_INTEREST]) |
|
| 64 | + $this->moneyPlugin->convertDecimalToInteger((float) $responseAsArray[static::EASYCREDIT_ACCRUING_INTEREST]) |
|
| 65 | 65 | ) |
| 66 | 66 | ->setTotalAmount( |
| 67 | - $this->moneyPlugin->convertDecimalToInteger((float)$responseAsArray[static::EASYCREDIT_TOTAL_AMOUNT]) |
|
| 67 | + $this->moneyPlugin->convertDecimalToInteger((float) $responseAsArray[static::EASYCREDIT_TOTAL_AMOUNT]) |
|
| 68 | 68 | ) |
| 69 | 69 | ->setTotalOrderAmount( |
| 70 | - $this->moneyPlugin->convertDecimalToInteger((float)$responseAsArray[static::EASYCREDIT_TOTAL_ORDER_AMOUNT]) |
|
| 70 | + $this->moneyPlugin->convertDecimalToInteger((float) $responseAsArray[static::EASYCREDIT_TOTAL_ORDER_AMOUNT]) |
|
| 71 | 71 | ); |
| 72 | 72 | |
| 73 | 73 | $quoteTransfer->setPayment($paymentTransfer); |
@@ -89,7 +89,7 @@ |
||
| 89 | 89 | |
| 90 | 90 | $heidelpayRequestTransfer->setRiskInformation( |
| 91 | 91 | (new HeidelpayRiskInformationTransfer()) |
| 92 | - ->setIsCustomerGuest((bool)$quoteTransfer->getCustomer()->getIsGuest()) |
|
| 92 | + ->setIsCustomerGuest((bool) $quoteTransfer->getCustomer()->getIsGuest()) |
|
| 93 | 93 | ->setCustomerSince($customerRegistrationDate) |
| 94 | 94 | ->setCustomerId($quoteTransfer->getCustomer()->getIdCustomer()) |
| 95 | 95 | ); |