public function getSale($paymentId)
    {
        $querySaleRequest = new QuerySaleRequest($this->merchant, $this->environment);

        return $querySaleRequest->execute($paymentId);
    }
public function getSale($paymentId)
    {
        $querySaleRequest = new QuerySaleRequest($this->merchant, $this->environment);

        return $querySaleRequest->execute($paymentId);
    }
public function getSale ( $ paymentId ) { $ querySaleRequest = new QuerySaleRequest ( $ this -> merchant , $ this -> environment ) ; return $ querySaleRequest -> execute ( $ paymentId ) ; }
Query a Sale on Cielo by paymentId

@param string $paymentId
The paymentId to be queried

@return Sale The Sale with authorization, tid, etc. returned by Cielo.

@throws \Cielo\API30\Ecommerce\Request\CieloRequestException if anything gets wrong.

@see <a href=
"https://developercielo.github.io/Webservice-3.0/english.html#error-codes">Error
Codes</a>
Query a Sale on Cielo by paymentId