public function renderDeposit($form)
    {
        $request = new DepositRequest();
        $request->amount = $form->amount;
        $request->currency = $form->currency;
        $request->finishUrl = $form->finishUrl;

        $requests = $this->getMerchantModule()->getPurchaseRequestCollection($request)->getItems();

        return $this->render('deposit', [
            'requests' => $requests,
            'depositForm' => $form
        ]);
    }
public function renderDeposit($form)
    {
        $request = new DepositRequest();
        $request->amount = $form->amount;
        $request->currency = $form->currency;
        $request->finishUrl = $form->finishUrl;

        $requests = $this->getMerchantModule()->getPurchaseRequestCollection($request)->getItems();

        return $this->render('deposit', [
            'requests' => $requests,
            'depositForm' => $form
        ]);
    }
public function renderDeposit ( $ form ) { $ request = new DepositRequest ( ) ; $ request -> amount = $ form -> amount ; $ request -> currency = $ form -> currency ; $ request -> finishUrl = $ form -> finishUrl ; $ requests = $ this -> getMerchantModule ( ) -> getPurchaseRequestCollection ( $ request ) -> getItems ( ) ; return $ this -> render ( 'deposit' , [ 'requests' => $ requests , 'depositForm' => $ form ] ) ; }
Renders depositing buttons for given request data.

@param DepositForm $form request data
@return \yii\web\Response
Renders depositing buttons for given request data .