application/models/bestitamazonpay4oxidbasketutil.php
public function restoreQuickCheckoutBasket()
    {
        $oSession = $this->getSession();
        $sBasket = $oSession->getVariable(self::BESTITAMAZONPAY_TEMP_BASKET);

        if ($sBasket !== null) {
            //init oxbasketitem class first #1746
            $this->getObjectFactory()->createOxidObject('oxBasketItem');

            $oBasket = unserialize($sBasket);
            $this->_validateBasket($oBasket);

            //Reset old basket
            $oSession->setBasket($oBasket);
        }
    }
public function restoreQuickCheckoutBasket()
    {
        $oSession = $this->getSession();
        $sBasket = $oSession->getVariable(self::BESTITAMAZONPAY_TEMP_BASKET);

        if ($sBasket !== null) {
            //init oxbasketitem class first #1746
            $this->getObjectFactory()->createOxidObject('oxBasketItem');

            $oBasket = unserialize($sBasket);
            $this->_validateBasket($oBasket);

            //Reset old basket
            $oSession->setBasket($oBasket);
        }
    }
public function restoreQuickCheckoutBasket ( ) { $ oSession = $ this -> getSession ( ) ; $ sBasket = $ oSession -> getVariable ( self :: BESTITAMAZONPAY_TEMP_BASKET ) ; if ( $ sBasket !== null ) { //init oxbasketitem class first #1746 $ this -> getObjectFactory ( ) -> createOxidObject ( 'oxBasketItem' ) ; $ oBasket = unserialize ( $ sBasket ) ; $ this -> _validateBasket ( $ oBasket ) ; //Reset old basket $ oSession -> setBasket ( $ oBasket ) ; } }
Restores the basket which was present before the quick checkout.

@throws oxSystemComponentException
Restores the basket which was present before the quick checkout .