Skip to content

Commit

Permalink
Merge pull request #45 from AndreyProkofyev/dadata-iso-to-v1
Browse files Browse the repository at this point in the history
DADATA - added country and region ISO code properties
  • Loading branch information
Sergei Kasatkin authored Mar 11, 2020
2 parents 990b36a + 0542805 commit 40d9727
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/Response/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -560,8 +560,17 @@ class Address extends AbstractResponse
*/
public $metro;

/**
* @var string ISO-код страны
*/
public $country_iso_code;
/**
* @var string ISO-код региона
*/
public $region_iso_code;

public function __toString()
{
return (string) $this->result;
return (string)$this->result;
}
}

0 comments on commit 40d9727

Please sign in to comment.