src/Resource/Refund.php
private function execute(stdClass $data = null, $resourceId = null)
    {
        $body = empty($data) ? new stdClass() : $data;
        $response = $this->httpRequest($this->getPath($resourceId), Requests::POST, $body);

        return $this->populate($response);
    }
private function execute(stdClass $data = null, $resourceId = null)
    {
        $body = empty($data) ? new stdClass() : $data;
        $response = $this->httpRequest($this->getPath($resourceId), Requests::POST, $body);

        return $this->populate($response);
    }
private function execute ( stdClass $ data = null , $ resourceId = null ) { $ body = empty ( $ data ) ? new stdClass ( ) : $ data ; $ response = $ this -> httpRequest ( $ this -> getPath ( $ resourceId ) , Requests :: POST , $ body ) ; return $ this -> populate ( $ response ) ; }
Create a new refund in api MoIP.

@param stdClass $data

@return $this
Create a new refund in api MoIP .