public function getDecorated(): AbstractDocumentRenderer
{ throw new DecorationPatternException(self::
class);
} private function getNumber(Context
$context, OrderEntity
$order, DocumentGenerateOperation
$operation): string
{ return $this->numberRangeValueGenerator->
getValue( 'document_' . self::TYPE,
$context,
$order->
getSalesChannelId(),
$operation->
isPreview() );
}}