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:
@@ -18,7 +18,7 @@ public class LegalOrganisation implements IZUGFeRDLegalOrganisation {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public LegalOrganisation(String ID, String scheme) {
|
public LegalOrganisation(String ID, String scheme) {
|
||||||
this.schemedID = new SchemedID(ID, scheme);
|
this.schemedID = new SchemedID(scheme, ID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public LegalOrganisation(SchemedID schemedID, String tradingBusinessName) {
|
public LegalOrganisation(SchemedID schemedID, String tradingBusinessName) {
|
||||||
|
|||||||
Reference in New Issue
Block a user