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