public function getSettlement(CardPayments\Settlement $settlement)
    {
        $settlement->setRequiredFields(array('id'));
        $settlement->checkRequiredFields();

        $request = new Request(array(
             'method' => Request::GET,
             'uri' => $this->prepareURI("/settlements/" . $settlement->id)
        ));

        $response = $this->client->processRequest($request);
        return new CardPayments\Settlement($response);
    }
public function getSettlement(CardPayments\Settlement $settlement)
    {
        $settlement->setRequiredFields(array('id'));
        $settlement->checkRequiredFields();

        $request = new Request(array(
             'method' => Request::GET,
             'uri' => $this->prepareURI("/settlements/" . $settlement->id)
        ));

        $response = $this->client->processRequest($request);
        return new CardPayments\Settlement($response);
    }
public function getSettlement ( CardPayments \ Settlement $ settlement ) { $ settlement -> setRequiredFields ( array ( 'id' ) ) ; $ settlement -> checkRequiredFields ( ) ; $ request = new Request ( array ( 'method' => Request :: GET , 'uri' => $ this -> prepareURI ( "/settlements/" . $ settlement -> id ) ) ) ; $ response = $ this -> client -> processRequest ( $ request ) ; return new CardPayments \ Settlement ( $ response ) ; }
Get the settlement.

@param CardPayments\Settlement $settlement
@return CardPayments\Settlement
@throws PaysafeException
Get the settlement .