In order to express a total with [CompoundPriceSpecification](https://schema.org/CompoundPriceSpecification), it needs to accept any type of PriceSpecification in its [priceComponent](https://schema.org/priceComponent).