23 if($address = $location->getAddress())
25 $address = Entity\Address\Converter\ArrayConverter::convertToArray($address,
false);
29 'id' => $location->getId(),
30 'code' => $location->getCode(),
31 'externalId' => $location->getExternalId(),
32 'sourceCode' => $location->getSourceCode(),
33 'type' => $location->getType(),
34 'name' => $location->getName(),
35 'languageId' => $location->getLanguageId(),
36 'latitude' => $location->getLatitude(),
37 'longitude' => $location->getLongitude(),