src/Message/Response.php
public function getOutcome()
    {
        if (isset($this->data['object']) && 'charge' === $this->data['object']) {
            if (isset($this->data['outcome']) && !empty($this->data['outcome'])) {
                return $this->data['outcome'];
            }
        }

        return null;
    }
public function getOutcome()
    {
        if (isset($this->data['object']) && 'charge' === $this->data['object']) {
            if (isset($this->data['outcome']) && !empty($this->data['outcome'])) {
                return $this->data['outcome'];
            }
        }

        return null;
    }
public function getOutcome ( ) { if ( isset ( $ this -> data [ 'object' ] ) && 'charge' === $ this -> data [ 'object' ] ) { if ( isset ( $ this -> data [ 'outcome' ] ) && ! empty ( $ this -> data [ 'outcome' ] ) ) { return $ this -> data [ 'outcome' ] ; } } return null ; }
Get the outcome of a charge from the response

@return array|null
Get the outcome of a charge from the response