Skip to content

Commit

Permalink
UPS-2889: add foreignCity to Uitpas Passholder object.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasDeRijcke committed Apr 22, 2020
1 parent 8b70c4a commit ce1185c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CultureFeed/CultureFeed/Uitpas/Passholder.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,13 @@ class CultureFeed_Uitpas_Passholder extends CultureFeed_Uitpas_ValueObject {
*/
public $city;

/**
* The foreignCity of the passholder.
*
* @var string
*/
public $foreignCity;

/**
* The telephone number of the passholder.
*
Expand Down Expand Up @@ -377,6 +384,7 @@ public static function createFromXML(CultureFeed_SimpleXMLElement $object) {
$passholder->box = $object->xpath_str('box');
$passholder->postalCode = $object->xpath_str('postalCode');
$passholder->city = $object->xpath_str('city');
$passholder->foreignCity = $object->xpath_str('foreignCity');
$passholder->telephone = $object->xpath_str('telephone');
$passholder->gsm = $object->xpath_str('gsm');
$passholder->nationality = $object->xpath_str('nationality');
Expand Down

0 comments on commit ce1185c

Please sign in to comment.