Get all needed parameter for first request to ipayment
Contain standat parameter and storage parameter.

@param array $aParameter

@return array $aParameter
492734
protected function GetAllInputFieldParameter($aParameter = array())
    {
        if (!is_array($aParameter)) {
            $aParameter = array();
        }
        $aParameter = $this->GetStandardInputFieldParameter($aParameter);
        $aParameter['trx_typ'] = $this->GetConfigParameter('trx_typ');
        $aParameter['use_datastorage'] = $this->GetConfigParameter('use_datastorage');
        $aParameter['datastorage_reuse_method'] = $this->GetConfigParameter('datastorage_reuse_method');
        $sDataExpireDateSec = time() + ((int) $this->GetConfigParameter('expiretime_min')) * 60;
        $aParameter['datastorage_expirydate'] = date('Y/m/d H:i:s', $sDataExpireDateSec);
        $oGlobal = TGlobal::instance();
        $aParameter['spot'] = $oGlobal->GetExecutingModulePointer()->sModuleSpotName;

        return $aParameter;
    }
370670
private function buildRequestParameters($parameters)
    {
        if (NULL === $parameters || empty($parameters)) {
            return null;
        }

        if (is_string($parameters)) {
            return $parameters;
        }

        $paramOut = '';
        foreach ($parameters as $key=>$value) {
            $paramOut .= $key.'=';
            if (is_array($value)){
                $paramOut .= join(',', $value);
            }else{
                $paramOut .= $value;
            }
            $paramOut .= '&';
        }

        return $paramOut;
    }
828197
private function getParam($param, $default = null)
    {
        if (isset($this->query[$param])) {
            return $this->query[$param];
        } else {
            return $default;
        }
    }
600204
private function getParameterValues(array $param, FedoraResource $res): array {
        $this->getParameters();

        $values = [];
        foreach ($param as $i) {
            $ii   = explode('|', substr($i, 1, -1));
            $name = array_shift($ii);

            if ($name === 'RES_URI') {
                $value = Parameter::value($res, '', $res->getUri(true), $ii);
            } else if ($name === 'RES_ID') {
                $value = Parameter::value($res, '', $res->getId(), $ii);
            } else if (isset($this->param[$name])) {
                $value = $this->param[$name]->getValue($res, $ii);
            } else {
                throw new RuntimeException('unknown parameter ' . $name);
            }
            $values[$i] = $value;
        }

        return $values;
    }
670932
public function getCompiledParams(array $params)
    {
        foreach ($params as $k => $p) {
            if (is_array($p)) {
                $params[$k] = $p[0];
            }
        }

        return $params;
    }
659056
public function getAccessToken(array $param = [])
    {
        if (! $this->hasStoredToken()) {
            return null;
        }

        if ($this->isNotExpired()) {
            $this->logger->debug(__CLASS__, 'get', 'Access token retrieved from file');

            return $this->loadAccessToken();
        }

        return null;
    }
174213
public function getParameter(string $parameter)
    {
        if ($this->hasParameter($parameter)) {
            return $this->getParameters()[$parameter];
        }

        throw new \InvalidArgumentException(sprintf('Parameter "%s" does not exist', $parameter));
    }
586213
public function getParameter($name)
    {
        if (!array_key_exists($name, $this->parameters)) {
            throw new InvalidArgumentException(sprintf('Parameter: "%s" does not exist', $name));
        }

        return $this->parameters[$name];
    }
1275882
public function getParam($param = null)
    {
        if (null === $param) {
            return $this->params;
        }

        return isset($this->params[$param]) ? $this->params[$param] : null;
    }
629063
public static function listAllCashOnDeliveryPaymentsAsync(array $parameters = [])
    {
        return self::listAllCashOnDeliveryPaymentsAsyncWithHttpInfo($page, $size, $sort)
            ->then(
                function ($response) {
                    return $response[0];
                }
            );
    }
426206
function getRequestParameters()
    {
        $params = $this->getRawParameters();

        $fingerprintOrder = array_merge(
            ['customerId', 'shopId', 'password', 'secret', 'language'],
            $this->fingerprintOrder
        );

        $requiredParameters = array_merge(
            ['customerId', 'requestFingerprint', 'password', 'language'],
            $this->requiredParameters
        );

        switch ($this->getParam('fundTransferType')) {
        case FundTransferType::EXISTINGORDER:
            $fingerprintOrder[] = 'sourceOrderNumber';
            $requiredParameters[] = 'sourceOrderNumber';
            break;
        case FundTransferType::MONETA:
            $fingerprintOrder[] = 'consumerWalletId';
            $requiredParameters[] = 'consumerWalletId';
            break;
        case FundTransferType::SEPA_CT:
            $fingerprintOrder[] = 'bankAccountOwner';
            $fingerprintOrder[] = 'bankBic';
            $fingerprintOrder[] = 'bankAccountIban';
            $requiredParameters[] = 'bankAccountOwner';
            $requiredParameters[] = 'bankBic';
            $requiredParameters[] = 'bankAccountIban';
            break;
        case FundTransferType::SKRILLWALLET:
            $fingerprintOrder[] = 'consumerEmail';
            $requiredParameters[] = 'consumerEmail';
            $requiredParameters[] = 'customerStatement';
            break;
        }

        $params['requestFingerprint'] = Fingerprint::fromParameters($params)
            ->setContext($this->getContext())
            ->setFingerprintOrder($fingerprintOrder);
        $this->assertParametersAreValid($params, $requiredParameters);

        return $params;
    }
459575
public static function getAll($param, $apiContext = null)
    {
        if (isset($apiContext)) {
            return Payment::all($param, $apiContext);
        }
        return Payment::all($param);
    }
367638
public  function getPaymentPlan($param)
    {
        $hasError = false;

        $param['method'] = CheckoutApi_Client_Adapter_Constant::API_GET;
        $this->flushState();
        $uri = $this->getUriRecurringPayments().'/plans';;
        $isPlanIdValid = CheckoutApi_Client_Validation_GW3::isPlanIdValid($param);

        if(!$isPlanIdValid) {
            $hasError = true;
            $this->throwException('Please provide a valid plan id',array('param'=>$param));
        }else {

            $uri = "$uri/{$param['customerId']}";
        }

        return $this->request( $uri ,$param,!$hasError);
    }
1113532
public static function create(array $aParams = null)
    {
        $params = new self();
        if ($aParams === null) {
            return $params;
        }

        foreach ($aParams as $name => $value) {
            $params->$name = $value;
        }

        return $params;
    }
582146
private function getToBasketLinkOtherParameters($aParameters = array())
    {
        $aExcludeParameters = TCMSSmartURLData::GetActive()->getSeoURLParameters();

        foreach ($aParameters as $sKey => $sVal) {
            $aExcludeParameters[] = $sKey;
        }

        // now add all OTHER parameters
        $aOtherParameters = TGlobal::instance()->GetUserData(null, $aExcludeParameters);
        foreach ($aOtherParameters as $sKey => $sVal) {
            $aParameters[$sKey] = $sVal;
        }

        return $aParameters;
    }
1009858
public function processParameter($parameter)
    {
        foreach ($this->getParameterProcessors() as $processor) {
            if ($processor->doesHandle($parameter)) {
                return $processor->process($parameter);
            }
        }

        return $parameter;
    }
52740
public function getValueBy(ParameterInterface $parameter)
    {
        if ($this->isExistBy($parameter) === false) {
            throw new NoBindParameterException('No parameter: ' . (string) $parameter);
        }

        return $this->parameters[$parameter->getHash()];
    }