original_string: public function getStatus()
      {
          switch (strtolower($this->request->status)) {
              case 'success':
                  return self::STATUS_COMPLETED;
  
              case 'pending':
                  return self::STATUS_PENDING;
  
              case 'failure':
                  return self::STATUS_FAILED;
  
              default:
                  return self::STATUS_FAILED;
          }
      }
code: public function getStatus()
      {
          switch (strtolower($this->request->status)) {
              case 'success':
                  return self::STATUS_COMPLETED;
  
              case 'pending':
                  return self::STATUS_PENDING;
  
              case 'failure':
                  return self::STATUS_FAILED;
  
              default:
                  return self::STATUS_FAILED;
          }
      }
code_tokens: public function getStatus ( ) { switch ( strtolower ( $ this -> request -> status ) ) { case 'success' : return self :: STATUS_COMPLETED ; case 'pending' : return self :: STATUS_PENDING ; case 'failure' : return self :: STATUS_FAILED ; default : return self :: STATUS_FAILED ; } }
docstring: Get the status of the Payment.
  
  @return string
docstring_tokens: Get the status of the Payment .