@@ -87,7 +87,7 @@ |
||
87 | 87 | $sXml = $this->configExport->generateConfigExportXml(); |
88 | 88 | if ($sXml !== false) { |
89 | 89 | $oResultRaw->setHeader("Content-Type", "text/xml; charset=\"utf8\"", true); |
90 | - $oResultRaw->setHeader("Content-Disposition", "attachment; filename=\"payone_config_export" . date('Y-m-d H-i-s') . "_" . md5($sXml) . ".xml\"", true); |
|
90 | + $oResultRaw->setHeader("Content-Disposition", "attachment; filename=\"payone_config_export".date('Y-m-d H-i-s')."_".md5($sXml).".xml\"", true); |
|
91 | 91 | $oResultRaw->setContents($sXml); |
92 | 92 | } |
93 | 93 | } catch (\Exception $e) { |
@@ -135,9 +135,9 @@ discard block |
||
135 | 135 | { |
136 | 136 | $sErrorMessage = false; |
137 | 137 | if (isset($aResponsePreCheck['status']) && $aResponsePreCheck['status'] == 'ERROR') { |
138 | - $sErrorMessage = __($aResponsePreCheck['errorcode'] . ' - ' . $aResponsePreCheck['customermessage']); |
|
138 | + $sErrorMessage = __($aResponsePreCheck['errorcode'].' - '.$aResponsePreCheck['customermessage']); |
|
139 | 139 | } elseif (isset($aResponseCalculation['status']) && $aResponseCalculation['status'] == 'ERROR') { |
140 | - $sErrorMessage = __($aResponseCalculation['errorcode'] . ' - ' . $aResponseCalculation['customermessage']); |
|
140 | + $sErrorMessage = __($aResponseCalculation['errorcode'].' - '.$aResponseCalculation['customermessage']); |
|
141 | 141 | } elseif (!$aResponsePreCheck || (isset($aResponsePreCheck['status']) && $aResponsePreCheck['status'] == 'OK' && !$aResponseCalculation)) { |
142 | 142 | $sErrorMessage = __('An unknown error occurred'); |
143 | 143 | } |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | public function getPayDataArray($aResponse) |
190 | 190 | { |
191 | 191 | $aPayData = array(); |
192 | - foreach($aResponse as $sKey => $sValue) { |
|
192 | + foreach ($aResponse as $sKey => $sValue) { |
|
193 | 193 | $sCorrectedKey = str_ireplace('add_paydata[', '', $sKey); |
194 | 194 | $sCorrectedKey = rtrim($sCorrectedKey, ']'); |
195 | 195 | $sCorrectedKey = strtolower($sCorrectedKey); |
@@ -214,18 +214,18 @@ discard block |
||
214 | 214 | $aPayData = $this->getPayDataArray($aResponse); |
215 | 215 | foreach ($aPayData as $sKey => $sValue) { |
216 | 216 | $aSplit = explode('_', $sKey); |
217 | - for($i = count($aSplit); $i > 0; $i--) { |
|
218 | - if($i == count($aSplit)) { |
|
219 | - $aTmp = array($aSplit[$i-1] => $sValue); |
|
217 | + for ($i = count($aSplit); $i > 0; $i--) { |
|
218 | + if ($i == count($aSplit)) { |
|
219 | + $aTmp = array($aSplit[$i - 1] => $sValue); |
|
220 | 220 | } else { |
221 | - $aTmp = array($aSplit[$i-1] => $aTmp); |
|
221 | + $aTmp = array($aSplit[$i - 1] => $aTmp); |
|
222 | 222 | } |
223 | 223 | } |
224 | 224 | |
225 | 225 | $aInstallmentData = array_replace_recursive($aInstallmentData, $aTmp); |
226 | 226 | } |
227 | 227 | |
228 | - if(isset($aInstallmentData['paymentdetails']) && count($aInstallmentData['paymentdetails']) > 0) { |
|
228 | + if (isset($aInstallmentData['paymentdetails']) && count($aInstallmentData['paymentdetails']) > 0) { |
|
229 | 229 | return $aInstallmentData['paymentdetails']; |
230 | 230 | } |
231 | 231 |
@@ -77,7 +77,7 @@ |
||
77 | 77 | ) { |
78 | 78 | try { |
79 | 79 | $return = $proceed($creditmemo, $offlineRequested); |
80 | - } catch(\Exception $ex) { |
|
80 | + } catch (\Exception $ex) { |
|
81 | 81 | $aRequest = $this->checkoutSession->getPayoneDebitRequest(); |
82 | 82 | if (is_array($aRequest) && !empty($aRequest)) { |
83 | 83 | $aResponse = $this->checkoutSession->getPayoneDebitResponse(); |
@@ -109,7 +109,7 @@ |
||
109 | 109 | try { |
110 | 110 | $this->curl->post($sUrl, $aPostArray); |
111 | 111 | $this->log($sUrl.' Response: '.$this->curl->getBody(), $aPostArray); |
112 | - } catch(\Exception $exc) { |
|
112 | + } catch (\Exception $exc) { |
|
113 | 113 | $this->log($sUrl.' Exception: '.$exc->getMessage(), $aPostArray); |
114 | 114 | } |
115 | 115 | } |
@@ -46,7 +46,7 @@ |
||
46 | 46 | parent::__construct($context); |
47 | 47 | |
48 | 48 | // Fix for Magento 2.3 CsrfValidator and backwards-compatibility to prior Magento 2 versions |
49 | - if(interface_exists("\Magento\Framework\App\CsrfAwareActionInterface")) { |
|
49 | + if (interface_exists("\Magento\Framework\App\CsrfAwareActionInterface")) { |
|
50 | 50 | $request = $this->getRequest(); |
51 | 51 | if ($request instanceof Http && $request->isPost()) { |
52 | 52 | $request->setParam('ajax', true); |
@@ -185,7 +185,7 @@ |
||
185 | 185 | |
186 | 186 | if ($autoCcDetection) { |
187 | 187 | // Get a flat CC type array like (e.g. ["V", "M", "J", "U", "P"]). |
188 | - $availableCcTypes = array_map(function ($type) { return $type['id']; }, $this->paymentHelper->getAvailableCreditcardTypes()); |
|
188 | + $availableCcTypes = array_map(function($type) { return $type['id']; }, $this->paymentHelper->getAvailableCreditcardTypes()); |
|
189 | 189 | |
190 | 190 | // Return the auto cardtype detection config with enabled CC types. |
191 | 191 | return [ |
@@ -278,7 +278,7 @@ |
||
278 | 278 | public function getOldAddressStatus(AddressInterface $oAddress, $blIsCreditrating = true) |
279 | 279 | { |
280 | 280 | $sStatus = $this->getStatusFromPreviousQuoteAddress($oAddress, $blIsCreditrating); |
281 | - if(empty($sStatus) && $blIsCreditrating === true && $this->getConfigParam('integration_event', 'creditrating', 'payone_protect') == 'after_payment') { |
|
281 | + if (empty($sStatus) && $blIsCreditrating === true && $this->getConfigParam('integration_event', 'creditrating', 'payone_protect') == 'after_payment') { |
|
282 | 282 | $sStatus = $this->getScoreFromCheckedAddresses($oAddress); |
283 | 283 | } |
284 | 284 | return $sStatus; |
@@ -109,7 +109,7 @@ |
||
109 | 109 | if ($aResponse['status'] == 'OK') { |
110 | 110 | $oResponse->setData('clientToken', $aResponse['add_paydata[client_token]']); |
111 | 111 | $blSuccess = true; |
112 | - } elseif($aResponse['status'] == 'ERROR') { |
|
112 | + } elseif ($aResponse['status'] == 'ERROR') { |
|
113 | 113 | if ($aResponse['errorcode'] == '981') { |
114 | 114 | $oResponse->setData('errormessage', __('Payment method is not available anymore')); |
115 | 115 | } else { |
@@ -43,65 +43,65 @@ |
||
43 | 43 | protected static $aTableData = [ |
44 | 44 | 'title' => self::TABLE_RATEPAY_PROFILE_CONFIG, |
45 | 45 | 'columns' => [ |
46 | - 'shop_id' => ['type' => Table::TYPE_INTEGER, 'length' => null, 'option' => ['identity' => true, 'unsigned' => true, 'nullable' => false, 'primary' => true]], |
|
47 | - 'profile_id' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
48 | - 'merchant_name' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
49 | - 'merchant_status' => ['type' => Table::TYPE_INTEGER, 'length' => 2, 'option' => ['nullable' => true, 'default' => NULL]], |
|
50 | - 'shop_name' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
51 | - 'name' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
52 | - 'currency' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
53 | - 'type' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
54 | - 'activation_status_elv' => ['type' => Table::TYPE_INTEGER, 'length' => 2, 'option' => ['nullable' => true, 'default' => NULL]], |
|
55 | - 'activation_status_installment' => ['type' => Table::TYPE_INTEGER, 'length' => 2, 'option' => ['nullable' => true, 'default' => NULL]], |
|
56 | - 'activation_status_invoice' => ['type' => Table::TYPE_INTEGER, 'length' => 2, 'option' => ['nullable' => true, 'default' => NULL]], |
|
57 | - 'activation_status_prepayment' => ['type' => Table::TYPE_INTEGER, 'length' => 2, 'option' => ['nullable' => true, 'default' => NULL]], |
|
58 | - 'amount_min_longrun' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
59 | - 'b2b_pq_full' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
60 | - 'b2b_pq_light' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
61 | - 'b2b_elv' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
62 | - 'b2b_installment' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
63 | - 'b2b_invoice' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
64 | - 'b2b_prepayment' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
65 | - 'country_code_billing' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
66 | - 'country_code_delivery' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
67 | - 'delivery_address_pq_full' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
68 | - 'delivery_address_pq_light' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
69 | - 'delivery_address_elv' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
70 | - 'delivery_address_installment' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
71 | - 'delivery_address_invoice' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
72 | - 'delivery_address_prepayment' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
73 | - 'device_fingerprint_snippet_id' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
74 | - 'eligibility_device_fingerprint' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
75 | - 'eligibility_ratepay_elv' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
76 | - 'eligibility_ratepay_installment' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
77 | - 'eligibility_ratepay_invoice' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
78 | - 'eligibility_ratepay_pq_full' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
79 | - 'eligibility_ratepay_pq_light' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
80 | - 'eligibility_ratepay_prepayment' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
81 | - 'interest_rate_merchant_towards_bank' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
82 | - 'interestrate_default' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
83 | - 'interestrate_max' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
84 | - 'interestrate_min' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
85 | - 'min_difference_dueday' => ['type' => Table::TYPE_INTEGER, 'length' => 2, 'option' => ['nullable' => true, 'default' => NULL]], |
|
86 | - 'month_allowed' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
87 | - 'month_longrun' => ['type' => Table::TYPE_INTEGER, 'length' => 2, 'option' => ['nullable' => true, 'default' => NULL]], |
|
88 | - 'month_number_max' => ['type' => Table::TYPE_INTEGER, 'length' => 2, 'option' => ['nullable' => true, 'default' => NULL]], |
|
89 | - 'month_number_min' => ['type' => Table::TYPE_INTEGER, 'length' => 2, 'option' => ['nullable' => true, 'default' => NULL]], |
|
90 | - 'payment_amount' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
91 | - 'payment_firstday' => ['type' => Table::TYPE_INTEGER, 'length' => 2, 'option' => ['nullable' => true, 'default' => NULL]], |
|
92 | - 'payment_lastrate' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
93 | - 'rate_min_longrun' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
94 | - 'rate_min_normal' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
95 | - 'service_charge' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
96 | - 'tx_limit_elv_max' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
97 | - 'tx_limit_elv_min' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
98 | - 'tx_limit_installment_max' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
99 | - 'tx_limit_installment_min' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
100 | - 'tx_limit_invoice_max' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
101 | - 'tx_limit_invoice_min' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
102 | - 'tx_limit_prepayment_max' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
103 | - 'tx_limit_prepayment_min' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
104 | - 'valid_payment_firstdays' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
46 | + 'shop_id' => ['type' => Table::TYPE_INTEGER, 'length' => null, 'option' => ['identity' => true, 'unsigned' => true, 'nullable' => false, 'primary' => true]], |
|
47 | + 'profile_id' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
48 | + 'merchant_name' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
49 | + 'merchant_status' => ['type' => Table::TYPE_INTEGER, 'length' => 2, 'option' => ['nullable' => true, 'default' => NULL]], |
|
50 | + 'shop_name' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
51 | + 'name' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
52 | + 'currency' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
53 | + 'type' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
54 | + 'activation_status_elv' => ['type' => Table::TYPE_INTEGER, 'length' => 2, 'option' => ['nullable' => true, 'default' => NULL]], |
|
55 | + 'activation_status_installment' => ['type' => Table::TYPE_INTEGER, 'length' => 2, 'option' => ['nullable' => true, 'default' => NULL]], |
|
56 | + 'activation_status_invoice' => ['type' => Table::TYPE_INTEGER, 'length' => 2, 'option' => ['nullable' => true, 'default' => NULL]], |
|
57 | + 'activation_status_prepayment' => ['type' => Table::TYPE_INTEGER, 'length' => 2, 'option' => ['nullable' => true, 'default' => NULL]], |
|
58 | + 'amount_min_longrun' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
59 | + 'b2b_pq_full' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
60 | + 'b2b_pq_light' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
61 | + 'b2b_elv' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
62 | + 'b2b_installment' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
63 | + 'b2b_invoice' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
64 | + 'b2b_prepayment' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
65 | + 'country_code_billing' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
66 | + 'country_code_delivery' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
67 | + 'delivery_address_pq_full' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
68 | + 'delivery_address_pq_light' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
69 | + 'delivery_address_elv' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
70 | + 'delivery_address_installment' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
71 | + 'delivery_address_invoice' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
72 | + 'delivery_address_prepayment' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
73 | + 'device_fingerprint_snippet_id' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
74 | + 'eligibility_device_fingerprint' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
75 | + 'eligibility_ratepay_elv' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
76 | + 'eligibility_ratepay_installment' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
77 | + 'eligibility_ratepay_invoice' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
78 | + 'eligibility_ratepay_pq_full' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
79 | + 'eligibility_ratepay_pq_light' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
80 | + 'eligibility_ratepay_prepayment' => ['type' => Table::TYPE_INTEGER, 'length' => 1, 'option' => ['nullable' => true, 'default' => NULL]], |
|
81 | + 'interest_rate_merchant_towards_bank' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
82 | + 'interestrate_default' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
83 | + 'interestrate_max' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
84 | + 'interestrate_min' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
85 | + 'min_difference_dueday' => ['type' => Table::TYPE_INTEGER, 'length' => 2, 'option' => ['nullable' => true, 'default' => NULL]], |
|
86 | + 'month_allowed' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
87 | + 'month_longrun' => ['type' => Table::TYPE_INTEGER, 'length' => 2, 'option' => ['nullable' => true, 'default' => NULL]], |
|
88 | + 'month_number_max' => ['type' => Table::TYPE_INTEGER, 'length' => 2, 'option' => ['nullable' => true, 'default' => NULL]], |
|
89 | + 'month_number_min' => ['type' => Table::TYPE_INTEGER, 'length' => 2, 'option' => ['nullable' => true, 'default' => NULL]], |
|
90 | + 'payment_amount' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
91 | + 'payment_firstday' => ['type' => Table::TYPE_INTEGER, 'length' => 2, 'option' => ['nullable' => true, 'default' => NULL]], |
|
92 | + 'payment_lastrate' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
93 | + 'rate_min_longrun' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
94 | + 'rate_min_normal' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
95 | + 'service_charge' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
96 | + 'tx_limit_elv_max' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
97 | + 'tx_limit_elv_min' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
98 | + 'tx_limit_installment_max' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
99 | + 'tx_limit_installment_min' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
100 | + 'tx_limit_invoice_max' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
101 | + 'tx_limit_invoice_min' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
102 | + 'tx_limit_prepayment_max' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
103 | + 'tx_limit_prepayment_min' => ['type' => Table::TYPE_DECIMAL, 'length' => '20,4', 'option' => ['nullable' => true, 'default' => NULL]], |
|
104 | + 'valid_payment_firstdays' => ['type' => Table::TYPE_TEXT, 'length' => 32, 'option' => ['nullable' => true, 'default' => NULL]], |
|
105 | 105 | ], |
106 | 106 | 'comment' => 'Ratepay profile configuration' |
107 | 107 | ]; |