public function deleteACHBankAccount( CustomerVault\Profile $profile, CustomerVault\ACHBankaccounts $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 . "/achbankaccounts/" . $bankDetails->id)
        ));
        $response = $this->client->processRequest($request);
        return $response;
    }
public function deleteACHBankAccount( CustomerVault\Profile $profile, CustomerVault\ACHBankaccounts $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 . "/achbankaccounts/" . $bankDetails->id)
        ));
        $response = $this->client->processRequest($request);
        return $response;
    }
public function deleteACHBankAccount ( CustomerVault \ Profile $ profile , CustomerVault \ ACHBankaccounts $ 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 . "/achbankaccounts/" . $ bankDetails -> id ) ) ) ; $ response = $ this -> client -> processRequest ( $ request ) ; return $ response ; }
Delete ACH bank account

@param CustomerVault\Profile $profile
@param CustomerVault\ACHBankaccounts $bankDetails
@return \Paysafe\CustomerVault\Profile
@throws PaysafeException
Delete ACH bank account