Model/Apiconnector/Customer.php
public function setContactData($customer)
    {
        $this->model = $customer;
        $this->setReviewCollection();
        parent::setContactData($customer);

        return $this;
    }
public function setContactData($customer)
    {
        $this->model = $customer;
        $this->setReviewCollection();
        parent::setContactData($customer);

        return $this;
    }
public function setContactData ( $ customer ) { $ this -> model = $ customer ; $ this -> setReviewCollection ( ) ; parent :: setContactData ( $ customer ) ; return $ this ; }
Set customer data.

@param \Magento\Customer\Model\Customer customer

@return $this
Set customer data .