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;
        }
    }
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;
        }
    }
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 ; } }
Get the status of the Payment.

@return string
Get the status of the Payment .