Model/PayPalRequest/SetExpressCheckoutRequestBuilder.php
public function getBasket()
    {
        if (is_null($this->basket)) {
            /** @var \OxidEsales\PayPalModule\Core\Exception\PayPalMissingParameterException $exception */
            $exception = oxNew(\OxidEsales\PayPalModule\Core\Exception\PayPalMissingParameterException::class);
            throw $exception;
        }

        return $this->basket;
    }
public function getBasket()
    {
        if (is_null($this->basket)) {
            /** @var \OxidEsales\PayPalModule\Core\Exception\PayPalMissingParameterException $exception */
            $exception = oxNew(\OxidEsales\PayPalModule\Core\Exception\PayPalMissingParameterException::class);
            throw $exception;
        }

        return $this->basket;
    }
public function getBasket ( ) { if ( is_null ( $ this -> basket ) ) { /** @var \OxidEsales\PayPalModule\Core\Exception\PayPalMissingParameterException $exception */ $ exception = oxNew ( \ OxidEsales \ PayPalModule \ Core \ Exception \ PayPalMissingParameterException :: class ) ; throw $ exception ; } return $ this -> basket ; }
Returns basket object.

@return \OxidEsales\Eshop\Application\Model\Basket

@throws \OxidEsales\PayPalModule\Core\Exception\PayPalMissingParameterException
Returns basket object .