Model/PayPalRequest/SetExpressCheckoutRequestBuilder.php
public function addBasketGrandTotalParams()
    {
        $basket = $this->getBasket();
        $request = $this->getPayPalRequest();

        $request->setParameter("L_PAYMENTREQUEST_0_NAME0", $this->getLang()->translateString("OEPAYPAL_GRAND_TOTAL"));
        $request->setParameter("L_PAYMENTREQUEST_0_AMT0", $this->formatFloat($basket->getSumOfCostOfAllItemsPayPalBasket()));
        $request->setParameter("L_PAYMENTREQUEST_0_QTY0", 1);
    }
public function addBasketGrandTotalParams()
    {
        $basket = $this->getBasket();
        $request = $this->getPayPalRequest();

        $request->setParameter("L_PAYMENTREQUEST_0_NAME0", $this->getLang()->translateString("OEPAYPAL_GRAND_TOTAL"));
        $request->setParameter("L_PAYMENTREQUEST_0_AMT0", $this->formatFloat($basket->getSumOfCostOfAllItemsPayPalBasket()));
        $request->setParameter("L_PAYMENTREQUEST_0_QTY0", 1);
    }
public function addBasketGrandTotalParams ( ) { $ basket = $ this -> getBasket ( ) ; $ request = $ this -> getPayPalRequest ( ) ; $ request -> setParameter ( "L_PAYMENTREQUEST_0_NAME0" , $ this -> getLang ( ) -> translateString ( "OEPAYPAL_GRAND_TOTAL" ) ) ; $ request -> setParameter ( "L_PAYMENTREQUEST_0_AMT0" , $ this -> formatFloat ( $ basket -> getSumOfCostOfAllItemsPayPalBasket ( ) ) ) ; $ request -> setParameter ( "L_PAYMENTREQUEST_0_QTY0" , 1 ) ; }
Sets basket Grand Total params to request.
Sets basket Grand Total params to request .