public function getACHBankAccount( CustomerVault\Profile $profile, CustomerVault\ACHBankaccounts $bankDetails )
    {
        $profile->setRequiredFields(array('id'));
        $profile->checkRequiredFields();
        $bankDetails->setRequiredFields(array('id'));
        $bankDetails->checkRequiredFields();
        $request = new Request(array(
            'method' => Request::GET,
            'uri' => $this->prepareURI("/profiles/" . $profile->id . "/achbankaccounts/" . $bankDetails->id),
            'body' => $profile
        ));
        print_r($request);
        $response = $this->client->processRequest($request);
        print_r($response);
        return new CustomerVault\ACHBankaccounts($response);
    }
public function getACHBankAccount( CustomerVault\Profile $profile, CustomerVault\ACHBankaccounts $bankDetails )
    {
        $profile->setRequiredFields(array('id'));
        $profile->checkRequiredFields();
        $bankDetails->setRequiredFields(array('id'));
        $bankDetails->checkRequiredFields();
        $request = new Request(array(
            'method' => Request::GET,
            'uri' => $this->prepareURI("/profiles/" . $profile->id . "/achbankaccounts/" . $bankDetails->id),
            'body' => $profile
        ));
        print_r($request);
        $response = $this->client->processRequest($request);
        print_r($response);
        return new CustomerVault\ACHBankaccounts($response);
    }
public function getACHBankAccount ( CustomerVault \ Profile $ profile , CustomerVault \ ACHBankaccounts $ bankDetails ) { $ profile -> setRequiredFields ( array ( 'id' ) ) ; $ profile -> checkRequiredFields ( ) ; $ bankDetails -> setRequiredFields ( array ( 'id' ) ) ; $ bankDetails -> checkRequiredFields ( ) ; $ request = new Request ( array ( 'method' => Request :: GET , 'uri' => $ this -> prepareURI ( "/profiles/" . $ profile -> id . "/achbankaccounts/" . $ bankDetails -> id ) , 'body' => $ profile ) ) ; print_r ( $ request ) ; $ response = $ this -> client -> processRequest ( $ request ) ; print_r ( $ response ) ; return new CustomerVault \ ACHBankaccounts ( $ response ) ; }
Lookup ACH bank account

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