From 974e223b3a5f2f7380300b44879735f47cecc8cd Mon Sep 17 00:00:00 2001 From: Micha Ahrweiler <4079612+mbaschnitzi@users.noreply.github.com> Date: Fri, 27 Dec 2024 12:49:00 +0100 Subject: [PATCH] Correct accessor order for SpecifiedLegalOrganization in TradeParty --- src/zugferd2/Model/TradeParty.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zugferd2/Model/TradeParty.php b/src/zugferd2/Model/TradeParty.php index 6d64c42..e2363fe 100644 --- a/src/zugferd2/Model/TradeParty.php +++ b/src/zugferd2/Model/TradeParty.php @@ -10,7 +10,7 @@ use JMS\Serializer\Annotation\XmlElement; use JMS\Serializer\Annotation\XmlList; -#[AccessorOrder(order: 'custom', custom: ['id', 'globalID', 'name', 'description', 'definedTradeContact', 'postalTradeAddress', 'uriUniversalCommunication', 'taxRegistrations'])] +#[AccessorOrder(order: 'custom', custom: ['id', 'globalID', 'name', 'description', 'specifiedLegalOrganization', 'definedTradeContact', 'postalTradeAddress', 'uriUniversalCommunication', 'taxRegistrations'])] class TradeParty { #[Type(Id::class)]