Skip to content

Commit

Permalink
Add missing TestIndicator in ExchangedDocumentContext
Browse files Browse the repository at this point in the history
  • Loading branch information
BolZer committed Sep 24, 2024
1 parent c22ddf4 commit f46a3c7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/zugferd2/Model/ExchangedDocumentContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@

class ExchangedDocumentContext
{
#[Type(Indicator::class)]
#[XmlElement(namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')]
#[SerializedName('TestIndicator')]
public ?Indicator $testIndicator = null;

#[Type(DocumentContextParameter::class)]
#[XmlElement(namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')]
#[SerializedName('BusinessProcessSpecifiedDocumentContextParameter')]
Expand Down
5 changes: 5 additions & 0 deletions src/zugferd2/Model/HeaderTradeSettlement.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ class HeaderTradeSettlement
#[SerializedName('InvoiceCurrencyCode')]
public string $currency;

#[Type(TradeParty::class)]
#[XmlElement(cdata: false, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')]
#[SerializedName('InvoiceeTradeParty')]
public ?TradeParty $invoiceeTradeParty = null;

#[Type(TradeParty::class)]
#[XmlElement(cdata: false, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')]
#[SerializedName('PayeeTradeParty')]
Expand Down

0 comments on commit f46a3c7

Please sign in to comment.