/** * Create a bank account in HiPay. * * @param VendorInterface $vendor * @param BankInfo $bankInfo * * @return array|bool if array is empty * * @throws Exception */ public function bankInfosRegister(VendorInterface $vendor, BankInfo $bankInfo) { $parameters = $this->mergeSubAccountParameters($vendor); $parameters = $bankInfo->mergeIntoParameters($parameters); return $this->callSoap('bankInfosRegister', $parameters); }