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