From 3b0a17360f1ae91a4246916fef7fe99b12701b15 Mon Sep 17 00:00:00 2001 From: Markus Thielen Date: Mon, 27 May 2024 17:29:23 +0200 Subject: [PATCH] QuoteMessage::addItem --- src/CXml/Model/Message/QuoteMessage.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/CXml/Model/Message/QuoteMessage.php b/src/CXml/Model/Message/QuoteMessage.php index 6ea84d7..52c4d14 100644 --- a/src/CXml/Model/Message/QuoteMessage.php +++ b/src/CXml/Model/Message/QuoteMessage.php @@ -39,8 +39,15 @@ public function getQuoteMessageHeader(): QuoteMessageHeader return $this->quoteMessageHeader; } - public function getQuoteMessageItems(): array + public function getItems(): array { return $this->quoteMessageItems; } + + public function addItem(ItemIn $quoteMessageItem): self + { + $this->quoteMessageItems[] = $quoteMessageItem; + + return $this; + } }