public function getMetaField($fieldName)
    {
        if (property_exists($this->data, 'metadata') && property_exists($this->data->metadata, $fieldName)) {
            return $this->data->metadata->{$fieldName};
        } else {
            return null;
        }
    }
public function getMetaField($fieldName)
    {
        if (property_exists($this->data, 'metadata') && property_exists($this->data->metadata, $fieldName)) {
            return $this->data->metadata->{$fieldName};
        } else {
            return null;
        }
    }
public function getMetaField ( $ fieldName ) { if ( property_exists ( $ this -> data , 'metadata' ) && property_exists ( $ this -> data -> metadata , $ fieldName ) ) { return $ this -> data -> metadata -> { $ fieldName } ; } else { return null ; } }
attempt to return the fieldName from the metadata on the response object
If not present return null.

@param string $fieldName

@return null|mixed
attempt to return the fieldName from the metadata on the response object If not present return null .