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);
        
    }