src/authnet/AuthnetJsonResponse.php
protected function checkTransactionStatus($status)
    {
        if ($this->transactionInfo instanceof TransactionResponse) {
            $match = (int) $this->transactionInfo->getTransactionResponseField('ResponseCode') === (int) $status;
        } else {
            $match = (int) $this->transactionResponse->responseCode === $status;
        }
        return $match;
    }
protected function checkTransactionStatus($status)
    {
        if ($this->transactionInfo instanceof TransactionResponse) {
            $match = (int) $this->transactionInfo->getTransactionResponseField('ResponseCode') === (int) $status;
        } else {
            $match = (int) $this->transactionResponse->responseCode === $status;
        }
        return $match;
    }
protected function checkTransactionStatus ( $ status ) { if ( $ this -> transactionInfo instanceof TransactionResponse ) { $ match = ( int ) $ this -> transactionInfo -> getTransactionResponseField ( 'ResponseCode' ) === ( int ) $ status ; } else { $ match = ( int ) $ this -> transactionResponse -> responseCode === $ status ; } return $ match ; }
Check to see if the ResponseCode matches the expected value

@param  integer $status
@return bool Check to see if the ResponseCode matches the expected value
Check to see if the ResponseCode matches the expected value