Skip to content

Commit 40d9727

Browse files
author
Sergei Kasatkin
authored
Merge pull request #45 from AndreyProkofyev/dadata-iso-to-v1
DADATA - added country and region ISO code properties
2 parents 990b36a + 0542805 commit 40d9727

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/Response/Address.php

+10-1
Original file line numberDiff line numberDiff line change
@@ -560,8 +560,17 @@ class Address extends AbstractResponse
560560
*/
561561
public $metro;
562562

563+
/**
564+
* @var string ISO-код страны
565+
*/
566+
public $country_iso_code;
567+
/**
568+
* @var string ISO-код региона
569+
*/
570+
public $region_iso_code;
571+
563572
public function __toString()
564573
{
565-
return (string) $this->result;
574+
return (string)$this->result;
566575
}
567576
}

0 commit comments

Comments
 (0)