| @@ 130-137 (lines=8) @@ | ||
| 127 | * @param bool $blIsAddresscheck |
|
| 128 | * @return string |
|
| 129 | */ |
|
| 130 | protected function getConfigParam($sParam, $blIsAddresscheck = false) |
|
| 131 | { |
|
| 132 | $sGroup = 'creditrating'; |
|
| 133 | if ($blIsAddresscheck === true) { |
|
| 134 | $sGroup = 'address_check'; |
|
| 135 | } |
|
| 136 | return $this->consumerscoreHelper->getConfigParam($sParam, $sGroup, 'payone_protect'); |
|
| 137 | } |
|
| 138 | ||
| 139 | /** |
|
| 140 | * Get quote object from session |
|
| @@ 76-83 (lines=8) @@ | ||
| 73 | * @param bool $blIsAddresscheck |
|
| 74 | * @return string |
|
| 75 | */ |
|
| 76 | public function getConfigParam($sParam, $blIsAddresscheck = false) |
|
| 77 | { |
|
| 78 | $sGroup = 'creditrating'; |
|
| 79 | if ($blIsAddresscheck === true) { |
|
| 80 | $sGroup = 'address_check'; |
|
| 81 | } |
|
| 82 | return $this->consumerscoreHelper->getConfigParam($sParam, $sGroup, 'payone_protect'); |
|
| 83 | } |
|
| 84 | ||
| 85 | /** |
|
| 86 | * Determine if creditrating is needed |
|