src/FintechFab/BankEmulatorSdk/Gateway.php
private function convert($requestParams)
	{

		$convertedParams = array();
		$convertList = self::$convertRequestParams;
		if (isset($convertList['term'])) {
			$convertList = array_flip($convertList);
		}

		foreach ($requestParams as $key => $value) {
			if(isset($convertList[$key])){
				$convertedParams[$convertList[$key]] = $value;
			}
		}

		return $convertedParams;

	}
private function convert($requestParams)
	{

		$convertedParams = array();
		$convertList = self::$convertRequestParams;
		if (isset($convertList['term'])) {
			$convertList = array_flip($convertList);
		}

		foreach ($requestParams as $key => $value) {
			if(isset($convertList[$key])){
				$convertedParams[$convertList[$key]] = $value;
			}
		}

		return $convertedParams;

	}
private function convert ( $ requestParams ) { $ convertedParams = array ( ) ; $ convertList = self :: $ convertRequestParams ; if ( isset ( $ convertList [ 'term' ] ) ) { $ convertList = array_flip ( $ convertList ) ; } foreach ( $ requestParams as $ key => $ value ) { if ( isset ( $ convertList [ $ key ] ) ) { $ convertedParams [ $ convertList [ $ key ] ] = $ value ; } } return $ convertedParams ; }
Reverse gateway and human names

@param array $requestParams

@return array
Reverse gateway and human names