protected function getPersonalData(SubmissionEntity $submission)
 {
     $personalData = new PersonalData();
     $PersonName = $this->getPersonName($submission);
     $PostalAddress = $this->getPostalAddress($submission);
     $ContactData = $this->getContactData($submission);
     $personalData->setPersonName($PersonName);
     $personalData->setPostalAddress($PostalAddress);
     $personalData->setContactData($ContactData);
     return $personalData;
 }
 protected function getPersonalData(Lead $lead)
 {
     $personalData = new PersonalData();
     $PersonName = $this->getPersonName($lead);
     $PostalAddress = $this->getPostalAddress($lead);
     $ContactData = $this->getContactData($lead);
     $DateOfBirth = $this->getDateOfBirth($lead);
     $personalData->setPersonName($PersonName);
     $personalData->setPostalAddress($PostalAddress);
     $personalData->setContactData($ContactData);
     $personalData->setDateOfBirth($DateOfBirth);
     return $personalData;
 }