src/Resource/Account.php
public function setParentsName($motherName, $fatherName)
    {
        $this->data->person->parentsName = new stdClass();
        $this->data->person->parentsName->mother = $motherName;
        $this->data->person->parentsName->father = $fatherName;

        return $this;
    }
public function setParentsName($motherName, $fatherName)
    {
        $this->data->person->parentsName = new stdClass();
        $this->data->person->parentsName->mother = $motherName;
        $this->data->person->parentsName->father = $fatherName;

        return $this;
    }
public function setParentsName ( $ motherName , $ fatherName ) { $ this -> data -> person -> parentsName = new stdClass ( ) ; $ this -> data -> person -> parentsName -> mother = $ motherName ; $ this -> data -> person -> parentsName -> father = $ fatherName ; return $ this ; }
Set parents name.

@param string $motherName Mother name.
@param string $fatherName Father name.

@return $this
Set parents name .