| @@ 2156-2181 (lines=26) @@ | ||
| 2153 | * @link https://webview.webservices.nl/documentation/files/service_edr-php.html#EDR.edrGetScore |
|
| 2154 | * @return \StdClass <EDRScore> |
|
| 2155 | */ |
|
| 2156 | public function edrGetScore( |
|
| 2157 | $lastName, |
|
| 2158 | $initials, |
|
| 2159 | $surnamePrefix, |
|
| 2160 | $gender, |
|
| 2161 | $birthDate, |
|
| 2162 | $street, |
|
| 2163 | $houseNumber, |
|
| 2164 | $postcode, |
|
| 2165 | $phoneNumber |
|
| 2166 | ) { |
|
| 2167 | return $this->getAdapter()->call( |
|
| 2168 | 'edrGetScore', |
|
| 2169 | [ |
|
| 2170 | 'last_name' => $lastName, |
|
| 2171 | 'initials' => $initials, |
|
| 2172 | 'surname_prefix' => $surnamePrefix, |
|
| 2173 | 'gender' => $gender, |
|
| 2174 | 'birth_date' => $birthDate, |
|
| 2175 | 'street' => $street, |
|
| 2176 | 'house_number' => $houseNumber, |
|
| 2177 | 'postcode' => $postcode, |
|
| 2178 | 'phone_number' => $phoneNumber, |
|
| 2179 | ] |
|
| 2180 | ); |
|
| 2181 | } |
|
| 2182 | ||
| 2183 | /** |
|
| 2184 | * Returns the coordinates of the given address in degrees of latitude/longitude. |
|
| @@ 4149-4176 (lines=28) @@ | ||
| 4146 | * |
|
| 4147 | * @return \StdClass |
|
| 4148 | */ |
|
| 4149 | public function riskCheckGetRiskPersonCompanyReport( |
|
| 4150 | $gender, |
|
| 4151 | $initials, |
|
| 4152 | $prefix, |
|
| 4153 | $lastName, |
|
| 4154 | $birthDate, |
|
| 4155 | $street, |
|
| 4156 | $houseNumber, |
|
| 4157 | $houseNumberAddition, |
|
| 4158 | $postcode, |
|
| 4159 | $city |
|
| 4160 | ) { |
|
| 4161 | return $this->getAdapter()->call( |
|
| 4162 | 'riskCheckGetRiskPersonCompanyReport', |
|
| 4163 | [ |
|
| 4164 | 'gender' => $gender, |
|
| 4165 | 'initials' => $initials, |
|
| 4166 | 'prefix' => $prefix, |
|
| 4167 | 'last_name' => $lastName, |
|
| 4168 | 'birth_date' => $birthDate, |
|
| 4169 | 'street' => $street, |
|
| 4170 | 'house_number' => $houseNumber, |
|
| 4171 | 'house_number_addition' => $houseNumberAddition, |
|
| 4172 | 'postcode' => $postcode, |
|
| 4173 | 'city' => $city, |
|
| 4174 | ] |
|
| 4175 | ); |
|
| 4176 | } |
|
| 4177 | ||
| 4178 | /** |
|
| 4179 | * Returns a score indicating creditworthiness for a Dutch person, address and postcode area. |
|