From 42d70e398ed090430e7382868a6088fc380eb297 Mon Sep 17 00:00:00 2001 From: torstenkoehler Date: Mon, 11 Nov 2024 11:10:59 +0100 Subject: [PATCH] Update TradePaymentTerms.php change order DueDateDateTime and ApplicableTradePaymentDiscountTerms --- src/zugferd2/Model/TradePaymentTerms.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/zugferd2/Model/TradePaymentTerms.php b/src/zugferd2/Model/TradePaymentTerms.php index 2d12093..e3ed631 100644 --- a/src/zugferd2/Model/TradePaymentTerms.php +++ b/src/zugferd2/Model/TradePaymentTerms.php @@ -13,16 +13,16 @@ class TradePaymentTerms #[JMS\SerializedName('Description')] public ?string $description = null; - #[JMS\Type(TradePaymentDiscountTerms::class)] - #[JMS\XmlElement(cdata: false, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] - #[JMS\SerializedName('ApplicableTradePaymentDiscountTerms')] - public ?TradePaymentDiscountTerms $applicableTradePaymentDiscountTerms = null; - #[JMS\Type(DateTime::class)] #[JMS\XmlElement(cdata: false, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] #[JMS\SerializedName('DueDateDateTime')] public ?DateTime $dueDate = null; + #[JMS\Type(TradePaymentDiscountTerms::class)] + #[JMS\XmlElement(cdata: false, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] + #[JMS\SerializedName('ApplicableTradePaymentDiscountTerms')] + public ?TradePaymentDiscountTerms $applicableTradePaymentDiscountTerms = null; + #[JMS\Type('string')] #[JMS\XmlElement(cdata: false, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] #[JMS\SerializedName('DirectDebitMandateID')]