original_string: public function createEFTBankAccount( CustomerVault\EFTBankaccounts $bankDetails )
      {
          $bankDetails->setRequiredFields(array(
              'accountNumber',
              'transitNumber',
              'institutionId',
              'accountHolderName',
              'billingAddressId'
          ));
          $bankDetails->checkRequiredFields();
          $bankDetails->setOptionalFields(array(
              'nickName',
              'merchantRefNum'
          ));
  
          $request = new Request(array(
              'method' => Request::POST,
              'uri' => $this->prepareURI("/profiles/" . $bankDetails->id . "/eftbankaccounts"),
              'body' => $bankDetails
          ));
  
          $response = $this->client->processRequest($request);
          return new CustomerVault\EFTBankaccounts($response);
      }
code: public function createEFTBankAccount( CustomerVault\EFTBankaccounts $bankDetails )
      {
          $bankDetails->setRequiredFields(array(
              'accountNumber',
              'transitNumber',
              'institutionId',
              'accountHolderName',
              'billingAddressId'
          ));
          $bankDetails->checkRequiredFields();
          $bankDetails->setOptionalFields(array(
              'nickName',
              'merchantRefNum'
          ));
  
          $request = new Request(array(
              'method' => Request::POST,
              'uri' => $this->prepareURI("/profiles/" . $bankDetails->id . "/eftbankaccounts"),
              'body' => $bankDetails
          ));
  
          $response = $this->client->processRequest($request);
          return new CustomerVault\EFTBankaccounts($response);
      }
code_tokens: public function createEFTBankAccount ( CustomerVault \ EFTBankaccounts $ bankDetails ) { $ bankDetails -> setRequiredFields ( array ( 'accountNumber' , 'transitNumber' , 'institutionId' , 'accountHolderName' , 'billingAddressId' ) ) ; $ bankDetails -> checkRequiredFields ( ) ; $ bankDetails -> setOptionalFields ( array ( 'nickName' , 'merchantRefNum' ) ) ; $ request = new Request ( array ( 'method' => Request :: POST , 'uri' => $ this -> prepareURI ( "/profiles/" . $ bankDetails -> id . "/eftbankaccounts" ) , 'body' => $ bankDetails ) ) ; $ response = $ this -> client -> processRequest ( $ request ) ; return new CustomerVault \ EFTBankaccounts ( $ response ) ; }
docstring: Creates EFT bank account for given profile id.
  
  @param CustomerVault\EFTBankaccounts $bankDetails https://developer.optimalpayments.com/en/documentation/customer-vault-api/eft-bank-accounts/
  @return \Paysafe\CustomerVault\Profile https://developer.optimalpayments.com/en/documentation/customer-vault-api/profiles/
  @throws PaysafeException
docstring_tokens: Creates EFT bank account for given profile id .