| @@ 1268-1291 (lines=24) @@ | ||
| 1265 | * @deprecated use <dnbSearchReferenceV2> instead |
|
| 1266 | * @return \StdClass <DNBBusinessVerification> |
|
| 1267 | */ |
|
| 1268 | public function dnbSearchReference( |
|
| 1269 | $name, |
|
| 1270 | $streetName, |
|
| 1271 | $houseNo, |
|
| 1272 | $houseNoAddition, |
|
| 1273 | $postcode, |
|
| 1274 | $cityName, |
|
| 1275 | $country, |
|
| 1276 | $page |
|
| 1277 | ) { |
|
| 1278 | return $this->getAdapter()->call( |
|
| 1279 | 'dnbSearchReference', |
|
| 1280 | [ |
|
| 1281 | 'name' => $name, |
|
| 1282 | 'streetname' => $streetName, |
|
| 1283 | 'houseno' => $houseNo, |
|
| 1284 | 'housenoaddition' => $houseNoAddition, |
|
| 1285 | 'postcode' => $postcode, |
|
| 1286 | 'cityname' => $cityName, |
|
| 1287 | 'country' => $country, |
|
| 1288 | 'page' => $page, |
|
| 1289 | ] |
|
| 1290 | ); |
|
| 1291 | } |
|
| 1292 | ||
| 1293 | /** |
|
| 1294 | * Search for a business on name and location. |
|
| @@ 1315-1340 (lines=26) @@ | ||
| 1312 | * @link https://webview.webservices.nl/documentation/files/service_dnb-php.html#DunBradstreet.dnbSearchReferenceV2 |
|
| 1313 | * @return \StdClass <Patterns::{Type}PagedResult> of <DNBBusinessReferenceV2> entries |
|
| 1314 | */ |
|
| 1315 | public function dnbSearchReferenceV2( |
|
| 1316 | $name, |
|
| 1317 | $streetName, |
|
| 1318 | $houseNo, |
|
| 1319 | $houseNoAddition, |
|
| 1320 | $postcode, |
|
| 1321 | $cityName, |
|
| 1322 | $region, |
|
| 1323 | $country, |
|
| 1324 | $page |
|
| 1325 | ) { |
|
| 1326 | return $this->getAdapter()->call( |
|
| 1327 | 'dnbSearchReferenceV2', |
|
| 1328 | [ |
|
| 1329 | 'name' => $name, |
|
| 1330 | 'streetname' => $streetName, |
|
| 1331 | 'houseno' => $houseNo, |
|
| 1332 | 'housenoaddition' => $houseNoAddition, |
|
| 1333 | 'postcode' => $postcode, |
|
| 1334 | 'cityname' => $cityName, |
|
| 1335 | 'region' => $region, |
|
| 1336 | 'country' => $country, |
|
| 1337 | 'page' => $page, |
|
| 1338 | ] |
|
| 1339 | ); |
|
| 1340 | } |
|
| 1341 | ||
| 1342 | /** |
|
| 1343 | * Retrieve basic WorldBase business information. |
|