protected function getMessage($rawResponse)
    {
        if ($message = Arr::get($rawResponse, 'message')) {
            return $message;
        }

        if (!empty(Arr::get($rawResponse, 'payments'))) {
            if ($message = $this->getPaymentStatus($rawResponse)) {
                return $message;
            }
        }
    }
protected function getMessage($rawResponse)
    {
        if ($message = Arr::get($rawResponse, 'message')) {
            return $message;
        }

        if (!empty(Arr::get($rawResponse, 'payments'))) {
            if ($message = $this->getPaymentStatus($rawResponse)) {
                return $message;
            }
        }
    }
protected function getMessage ( $ rawResponse ) { if ( $ message = Arr :: get ( $ rawResponse , 'message' ) ) { return $ message ; } if ( ! empty ( Arr :: get ( $ rawResponse , 'payments' ) ) ) { if ( $ message = $ this -> getPaymentStatus ( $ rawResponse ) ) { return $ message ; } } }
Get the message from the response.

@param array $rawResponse

@return string|null
Get the message from the response .