public function getBACSBankAccount( CustomerVault\Profile $profile, CustomerVault\BACSBankaccounts $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 . "/bacsbankaccounts/" . $bankDetails->id),
            'body' => $profile
        ));
        $response = $this->client->processRequest($request);
        return new CustomerVault\BACSBankaccounts($response);
    }
public function getBACSBankAccount( CustomerVault\Profile $profile, CustomerVault\BACSBankaccounts $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 . "/bacsbankaccounts/" . $bankDetails->id),
            'body' => $profile
        ));
        $response = $this->client->processRequest($request);
        return new CustomerVault\BACSBankaccounts($response);
    }
public function getBACSBankAccount ( CustomerVault \ Profile $ profile , CustomerVault \ BACSBankaccounts $ 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 . "/bacsbankaccounts/" . $ bankDetails -> id ) , 'body' => $ profile ) ) ; $ response = $ this -> client -> processRequest ( $ request ) ; return new CustomerVault \ BACSBankaccounts ( $ response ) ; }
Lookup BACS bank account

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