public function createPaymentRequest()
    {
        try {
            $this->currency();
            $this->reference();
            $this->discounts();
            $this->shipping();
            $this->sender();
            $this->urls();
            $this->items();
            $this->config();
            $this->setShoppingCartRecovery();
            return $this->register();
        } catch (\Exception $exception) {
            throw $exception;
        }
    }
public function createPaymentRequest()
    {
        try {
            $this->currency();
            $this->reference();
            $this->discounts();
            $this->shipping();
            $this->sender();
            $this->urls();
            $this->items();
            $this->config();
            $this->setShoppingCartRecovery();
            return $this->register();
        } catch (\Exception $exception) {
            throw $exception;
        }
    }
public function createPaymentRequest ( ) { try { $ this -> currency ( ) ; $ this -> reference ( ) ; $ this -> discounts ( ) ; $ this -> shipping ( ) ; $ this -> sender ( ) ; $ this -> urls ( ) ; $ this -> items ( ) ; $ this -> config ( ) ; $ this -> setShoppingCartRecovery ( ) ; return $ this -> register ( ) ; } catch ( \ Exception $ exception ) { throw $ exception ; } }
Create a new pagseguro direct payment request

@return string
@throws \Exception
Create a new pagseguro direct payment request