public function deleteBACSBankAccount( CustomerVault\Profile $profile, CustomerVault\BACSBankaccounts $bankDetails )
    {
        $bankDetails->setRequiredFields(array('id'));
        $bankDetails->checkRequiredFields();
		$profile->setRequiredFields(array('id'));
        $profile->checkRequiredFields();
        $request = new Request(array(
            'method' => Request::DELETE,
            'uri' => $this->prepareURI("/profiles/" . $profile->id . "/bacsbankaccounts/" . $bankDetails->id)
        ));
        $response = $this->client->processRequest($request);
        return $response;
    }
public function deleteBACSBankAccount( CustomerVault\Profile $profile, CustomerVault\BACSBankaccounts $bankDetails )
    {
        $bankDetails->setRequiredFields(array('id'));
        $bankDetails->checkRequiredFields();
		$profile->setRequiredFields(array('id'));
        $profile->checkRequiredFields();
        $request = new Request(array(
            'method' => Request::DELETE,
            'uri' => $this->prepareURI("/profiles/" . $profile->id . "/bacsbankaccounts/" . $bankDetails->id)
        ));
        $response = $this->client->processRequest($request);
        return $response;
    }
public function deleteBACSBankAccount ( CustomerVault \ Profile $ profile , CustomerVault \ BACSBankaccounts $ bankDetails ) { $ bankDetails -> setRequiredFields ( array ( 'id' ) ) ; $ bankDetails -> checkRequiredFields ( ) ; $ profile -> setRequiredFields ( array ( 'id' ) ) ; $ profile -> checkRequiredFields ( ) ; $ request = new Request ( array ( 'method' => Request :: DELETE , 'uri' => $ this -> prepareURI ( "/profiles/" . $ profile -> id . "/bacsbankaccounts/" . $ bankDetails -> id ) ) ) ; $ response = $ this -> client -> processRequest ( $ request ) ; return $ response ; }
Delete BACS bank account

@param CustomerVault\Profile $profile
@param CustomerVault\BACSBankaccounts $bankDetails
@return \Paysafe\CustomerVault\Profile
@throws PaysafeException
Delete BACS bank account