original_string: public function renderButton()
      {
          return $this->render('pay-button', [
              'widget' => $this,
              'request' => $this->request,
              'depositRequest' => new DepositRequest([
                  'id' => $this->request->id,
                  'amount' => $this->depositForm->amount,
                  'currency' => $this->depositForm->currency,
                  'merchant' => $this->getMerchantName(),
                  'finishUrl' => $this->depositForm->finishUrl,
              ])
          ]);
      }
code: public function renderButton()
      {
          return $this->render('pay-button', [
              'widget' => $this,
              'request' => $this->request,
              'depositRequest' => new DepositRequest([
                  'id' => $this->request->id,
                  'amount' => $this->depositForm->amount,
                  'currency' => $this->depositForm->currency,
                  'merchant' => $this->getMerchantName(),
                  'finishUrl' => $this->depositForm->finishUrl,
              ])
          ]);
      }
code_tokens: public function renderButton ( ) { return $ this -> render ( 'pay-button' , [ 'widget' => $ this , 'request' => $ this -> request , 'depositRequest' => new DepositRequest ( [ 'id' => $ this -> request -> id , 'amount' => $ this -> depositForm -> amount , 'currency' => $ this -> depositForm -> currency , 'merchant' => $ this -> getMerchantName ( ) , 'finishUrl' => $ this -> depositForm -> finishUrl , ] ) ] ) ; }
docstring: Renders the payment button.
  
  @return string
docstring_tokens: Renders the payment button .