Fix LegalOrganisation schemeId

The id and scheme id are reversed in the constructor of `LegalOrganisation` when creating the `SchemedId`.

Signed-off-by: Jan N. Klug <github@klug.nrw>
This commit is contained in:
Jan N. Klug
2024-09-10 19:29:25 +02:00
parent 958d268cac
commit a954b286d3

View File

@@ -18,7 +18,7 @@ public class LegalOrganisation implements IZUGFeRDLegalOrganisation {
}
public LegalOrganisation(String ID, String scheme) {
this.schemedID = new SchemedID(ID, scheme);
this.schemedID = new SchemedID(scheme, ID);
}
public LegalOrganisation(SchemedID schemedID, String tradingBusinessName) {