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