/** * Service Call: AddBankAccount * @param AddBankAccountRequest $addBankAccountRequest * @return AddBankAccountResponse * @throws APIException */ public function AddBankAccount($addBankAccountRequest, $apiUsername = null) { $ret = new AddBankAccountResponse(); $resp = $this->call("AddBankAccount", $addBankAccountRequest, $apiUsername); $ret->init(PPUtils::nvpToMap($resp)); return $ret; }
/** * Service Call: AddBankAccount * @param AddBankAccountRequest $addBankAccountRequest * @param mixed $apiCredential - Optional API credential - can either be * a username configured in sdk_config.ini or a ICredential object * created dynamically * @return AddBankAccountResponse * @throws APIException */ public function AddBankAccount($addBankAccountRequest, $apiCredential = NULL) { $ret = new AddBankAccountResponse(); $apiContext = new PPApiContext($this->config); $handlers = array(new PPPlatformServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION)); $resp = $this->call('AdaptiveAccounts', 'AddBankAccount', $addBankAccountRequest, $apiContext, $handlers); $ret->init(PPUtils::nvpToMap($resp)); return $ret; }