public function getRequestStandardParameter()
    {
        $settings = $this->get(PayoneConstants::PAYONE);
        $standardParameter = new PayoneStandardParameterTransfer();

        $standardParameter->setEncoding($settings[PayoneConstants::PAYONE_CREDENTIALS_ENCODING]);
        $standardParameter->setMid($settings[PayoneConstants::PAYONE_CREDENTIALS_MID]);
        $standardParameter->setAid($settings[PayoneConstants::PAYONE_CREDENTIALS_AID]);
        $standardParameter->setPortalId($settings[PayoneConstants::PAYONE_CREDENTIALS_PORTAL_ID]);
        $standardParameter->setKey($settings[PayoneConstants::PAYONE_CREDENTIALS_KEY]);
        $standardParameter->setPaymentGatewayUrl($settings[PayoneConstants::PAYONE_PAYMENT_GATEWAY_URL]);

        $standardParameter->setCurrency(Store::getInstance()->getCurrencyIsoCode());
        $standardParameter->setLanguage(Store::getInstance()->getCurrentLanguage());

        $standardParameter->setRedirectSuccessUrl($settings[PayoneConstants::PAYONE_REDIRECT_SUCCESS_URL]);
        $standardParameter->setRedirectBackUrl($settings[PayoneConstants::PAYONE_REDIRECT_BACK_URL]);
        $standardParameter->setRedirectErrorUrl($settings[PayoneConstants::PAYONE_REDIRECT_ERROR_URL]);

        return $standardParameter;
    }
public function getRequestStandardParameter()
    {
        $settings = $this->get(PayoneConstants::PAYONE);
        $standardParameter = new PayoneStandardParameterTransfer();

        $standardParameter->setEncoding($settings[PayoneConstants::PAYONE_CREDENTIALS_ENCODING]);
        $standardParameter->setMid($settings[PayoneConstants::PAYONE_CREDENTIALS_MID]);
        $standardParameter->setAid($settings[PayoneConstants::PAYONE_CREDENTIALS_AID]);
        $standardParameter->setPortalId($settings[PayoneConstants::PAYONE_CREDENTIALS_PORTAL_ID]);
        $standardParameter->setKey($settings[PayoneConstants::PAYONE_CREDENTIALS_KEY]);
        $standardParameter->setPaymentGatewayUrl($settings[PayoneConstants::PAYONE_PAYMENT_GATEWAY_URL]);

        $standardParameter->setCurrency(Store::getInstance()->getCurrencyIsoCode());
        $standardParameter->setLanguage(Store::getInstance()->getCurrentLanguage());

        $standardParameter->setRedirectSuccessUrl($settings[PayoneConstants::PAYONE_REDIRECT_SUCCESS_URL]);
        $standardParameter->setRedirectBackUrl($settings[PayoneConstants::PAYONE_REDIRECT_BACK_URL]);
        $standardParameter->setRedirectErrorUrl($settings[PayoneConstants::PAYONE_REDIRECT_ERROR_URL]);

        return $standardParameter;
    }
public function getRequestStandardParameter ( ) { $ settings = $ this -> get ( PayoneConstants :: PAYONE ) ; $ standardParameter = new PayoneStandardParameterTransfer ( ) ; $ standardParameter -> setEncoding ( $ settings [ PayoneConstants :: PAYONE_CREDENTIALS_ENCODING ] ) ; $ standardParameter -> setMid ( $ settings [ PayoneConstants :: PAYONE_CREDENTIALS_MID ] ) ; $ standardParameter -> setAid ( $ settings [ PayoneConstants :: PAYONE_CREDENTIALS_AID ] ) ; $ standardParameter -> setPortalId ( $ settings [ PayoneConstants :: PAYONE_CREDENTIALS_PORTAL_ID ] ) ; $ standardParameter -> setKey ( $ settings [ PayoneConstants :: PAYONE_CREDENTIALS_KEY ] ) ; $ standardParameter -> setPaymentGatewayUrl ( $ settings [ PayoneConstants :: PAYONE_PAYMENT_GATEWAY_URL ] ) ; $ standardParameter -> setCurrency ( Store :: getInstance ( ) -> getCurrencyIsoCode ( ) ) ; $ standardParameter -> setLanguage ( Store :: getInstance ( ) -> getCurrentLanguage ( ) ) ; $ standardParameter -> setRedirectSuccessUrl ( $ settings [ PayoneConstants :: PAYONE_REDIRECT_SUCCESS_URL ] ) ; $ standardParameter -> setRedirectBackUrl ( $ settings [ PayoneConstants :: PAYONE_REDIRECT_BACK_URL ] ) ; $ standardParameter -> setRedirectErrorUrl ( $ settings [ PayoneConstants :: PAYONE_REDIRECT_ERROR_URL ] ) ; return $ standardParameter ; }
Fetches parameters that are common for all requests to Payone API.

@return \Generated\Shared\Transfer\PayoneStandardParameterTransfer
Fetches parameters that are common for all requests to Payone API .