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