public function isFlagResponse($response){
        $result = false;

        if($response->getResponseCode() == CheckoutApi_Client_Constant::RESPONSE_CODE_APPROVED_RISK){
            $result = array(
                'responseMessage' => $response->getResponseMessage(),
            );
        }

        return $result;
    }
public function isFlagResponse($response){
        $result = false;

        if($response->getResponseCode() == CheckoutApi_Client_Constant::RESPONSE_CODE_APPROVED_RISK){
            $result = array(
                'responseMessage' => $response->getResponseMessage(),
            );
        }

        return $result;
    }
public function isFlagResponse ( $ response ) { $ result = false ; if ( $ response -> getResponseCode ( ) == CheckoutApi_Client_Constant :: RESPONSE_CODE_APPROVED_RISK ) { $ result = array ( 'responseMessage' => $ response -> getResponseMessage ( ) , ) ; } return $ result ; }
Check if response is flag
return response message
Check if response is flag return response message