/** * Get array with mapping which property is object and what type of object * @return array */ public function GetSubObjects() { $subObjects = parent::GetSubObjects(); $subObjects['OwnerAddress'] = '\\MangoPay\\Address'; return $subObjects; }