original_string: public function charge()
      {
          return !is_null($this->transactionRef) ?
              $this->getTransactionResource()->chargeAuthorization($this->_requestPayload()) :
              new PaystackInvalidTransactionException(
                  json_decode(
                      json_encode(
                          [
                              'message' => 'Transaction Reference Not Generated.',
                          ]
                      ),
                      false
                  )
              );
      }
code: public function charge()
      {
          return !is_null($this->transactionRef) ?
              $this->getTransactionResource()->chargeAuthorization($this->_requestPayload()) :
              new PaystackInvalidTransactionException(
                  json_decode(
                      json_encode(
                          [
                              'message' => 'Transaction Reference Not Generated.',
                          ]
                      ),
                      false
                  )
              );
      }
code_tokens: public function charge ( ) { return ! is_null ( $ this -> transactionRef ) ? $ this -> getTransactionResource ( ) -> chargeAuthorization ( $ this -> _requestPayload ( ) ) : new PaystackInvalidTransactionException ( json_decode ( json_encode ( [ 'message' => 'Transaction Reference Not Generated.' , ] ) , false ) ) ; }
docstring: Charge returning transaction.
  
  @return \Exception|mixed|PaystackInvalidTransactionException
docstring_tokens: Charge returning transaction .