From 46a545057e958db7843445e887471ec8b7084663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20N=C3=B6hles?= Date: Fri, 8 Mar 2024 15:33:01 +0100 Subject: [PATCH] Fix SellerAssignedID in ZUGFeRD 1.0 --- src/zugferd10/Model/Trade/Item/Product.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zugferd10/Model/Trade/Item/Product.php b/src/zugferd10/Model/Trade/Item/Product.php index 8ab8911..65a6d3f 100644 --- a/src/zugferd10/Model/Trade/Item/Product.php +++ b/src/zugferd10/Model/Trade/Item/Product.php @@ -32,7 +32,7 @@ class Product public function __construct(#[Type('string')] #[XmlElement(cdata: false, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12')] #[SerializedName('SellerAssignedID')] - private string $sellerAssignedID, #[Type('string')] + private ?string $sellerAssignedID, #[Type('string')] #[XmlElement(cdata: false, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:12')] #[SerializedName('Name')] private string $name, #[Type('string')]