src/FlexiPeeHP/FlexiBeeRO.php
public function getSubItems()
    {
        return array_key_exists('polozkyFaktury', $this->getData()) ? $this->getDataValue('polozkyFaktury')
                : (array_key_exists('polozkyDokladu', $this->getData()) ? $this->getDataValue('polozkyDokladu')
                : null);
    }
public function getSubItems()
    {
        return array_key_exists('polozkyFaktury', $this->getData()) ? $this->getDataValue('polozkyFaktury')
                : (array_key_exists('polozkyDokladu', $this->getData()) ? $this->getDataValue('polozkyDokladu')
                : null);
    }
public function getSubItems ( ) { return array_key_exists ( 'polozkyFaktury' , $ this -> getData ( ) ) ? $ this -> getDataValue ( 'polozkyFaktury' ) : ( array_key_exists ( 'polozkyDokladu' , $ this -> getData ( ) ) ? $ this -> getDataValue ( 'polozkyDokladu' ) : null ) ; }
Subitems - ex. items of invoice

@return array of document items or null
Subitems - ex . items of invoice