public function getMandates(CustomerVault\Mandates $mandates) {
      
        $mandates->setRequiredFields(array(
             'id'
        ));
        $mandates->checkRequiredFields();
        $request = new Request(array(
              'method' => Request::GET,
              'uri' => $this->prepareURI("/profiles/" . $mandates->profileID."/mandates/".$mandates->id),
              'body' => $mandates
            ));
        $response = $this->client->processRequest($request);
        return new CustomerVault\Mandates($response);
        
    }
public function getMandates(CustomerVault\Mandates $mandates) {
      
        $mandates->setRequiredFields(array(
             'id'
        ));
        $mandates->checkRequiredFields();
        $request = new Request(array(
              'method' => Request::GET,
              'uri' => $this->prepareURI("/profiles/" . $mandates->profileID."/mandates/".$mandates->id),
              'body' => $mandates
            ));
        $response = $this->client->processRequest($request);
        return new CustomerVault\Mandates($response);
        
    }
public function getMandates ( CustomerVault \ Mandates $ mandates ) { $ mandates -> setRequiredFields ( array ( 'id' ) ) ; $ mandates -> checkRequiredFields ( ) ; $ request = new Request ( array ( 'method' => Request :: GET , 'uri' => $ this -> prepareURI ( "/profiles/" . $ mandates -> profileID . "/mandates/" . $ mandates -> id ) , 'body' => $ mandates ) ) ; $ response = $ this -> client -> processRequest ( $ request ) ; return new CustomerVault \ Mandates ( $ response ) ; }
Process Look Up a Mandates
@param \Paysafe\CustomerVault\Mandate $mandates
@return \Paysafe\CustomerVault\Mandates
@throws PaysafeException
Process Look Up a Mandates