Example #1
0
 /**
  * Create new spouse object for user
  *
  * @return ClientAdditionalContact
  */
 public function createSpouseObject()
 {
     $spouse = new ClientAdditionalContact();
     $spouse->setSpouseFirstName($this->getFirstName());
     $spouse->setSpouseMiddleName($this->getMiddleName());
     $spouse->setSpouseLastName($this->getLastName());
     $spouse->setSpouseBirthDate($this->getBirthDate());
     $spouse->setCity($this->getCity());
     $spouse->setStreet($this->getStreet());
     $spouse->setState($this->getState());
     $spouse->setZip($this->getZip());
     $spouse->setPhoneNumber($this->getPhoneNumber());
     $spouse->setMaritalStatus(Profile::CLIENT_MARITAL_STATUS_MARRIED);
     $spouse->setType(ClientAdditionalContact::TYPE_SPOUSE);
     return $spouse;
 }