Model/IPNPaymentBuilder.php
protected function prepareRequestOrderPayment()
    {
        $requestOrderPayment = oxNew(\OxidEsales\PayPalModule\Model\OrderPayment::class);
        $request = $this->getRequest();

        $requestPaymentSetter = $this->getOrderPaymentSetter();
        $requestPaymentSetter->setRequest($request);
        $requestPaymentSetter->setRequestOrderPayment($requestOrderPayment);

        $requestOrderPayment = $requestPaymentSetter->getRequestOrderPayment();

        return $requestOrderPayment;
    }
protected function prepareRequestOrderPayment()
    {
        $requestOrderPayment = oxNew(\OxidEsales\PayPalModule\Model\OrderPayment::class);
        $request = $this->getRequest();

        $requestPaymentSetter = $this->getOrderPaymentSetter();
        $requestPaymentSetter->setRequest($request);
        $requestPaymentSetter->setRequestOrderPayment($requestOrderPayment);

        $requestOrderPayment = $requestPaymentSetter->getRequestOrderPayment();

        return $requestOrderPayment;
    }
protected function prepareRequestOrderPayment ( ) { $ requestOrderPayment = oxNew ( \ OxidEsales \ PayPalModule \ Model \ OrderPayment :: class ) ; $ request = $ this -> getRequest ( ) ; $ requestPaymentSetter = $ this -> getOrderPaymentSetter ( ) ; $ requestPaymentSetter -> setRequest ( $ request ) ; $ requestPaymentSetter -> setRequestOrderPayment ( $ requestOrderPayment ) ; $ requestOrderPayment = $ requestPaymentSetter -> getRequestOrderPayment ( ) ; return $ requestOrderPayment ; }
Wrapper to set parameters to order payment from request.

@return \OxidEsales\PayPalModule\Model\OrderPayment
Wrapper to set parameters to order payment from request .