Model/Apiconnector/Customer.php
public function getCustomerGender()
    {
        $genderId = $this->model->getGender();
        if (is_numeric($genderId)) {
            $gender = $this->model->getAttribute('gender')
                ->getSource()->getOptionText($genderId);

            return $gender;
        }

        return '';
    }
public function getCustomerGender()
    {
        $genderId = $this->model->getGender();
        if (is_numeric($genderId)) {
            $gender = $this->model->getAttribute('gender')
                ->getSource()->getOptionText($genderId);

            return $gender;
        }

        return '';
    }
public function getCustomerGender ( ) { $ genderId = $ this -> model -> getGender ( ) ; if ( is_numeric ( $ genderId ) ) { $ gender = $ this -> model -> getAttribute ( 'gender' ) -> getSource ( ) -> getOptionText ( $ genderId ) ; return $ gender ; } return '' ; }
customer gender.

@return bool|string
customer gender .