diff --git a/library/src/main/java/org/mustangproject/TradeParty.java b/library/src/main/java/org/mustangproject/TradeParty.java index 125fb1ea..0105247a 100644 --- a/library/src/main/java/org/mustangproject/TradeParty.java +++ b/library/src/main/java/org/mustangproject/TradeParty.java @@ -1,8 +1,6 @@ package org.mustangproject; -import org.mustangproject.ZUGFeRD.IZUGFeRDExportableContact; -import org.mustangproject.ZUGFeRD.IZUGFeRDExportableTradeParty; -import org.mustangproject.ZUGFeRD.IZUGFeRDTradeSettlement; +import org.mustangproject.ZUGFeRD.*; import org.w3c.dom.Node; import org.w3c.dom.NodeList; @@ -12,6 +10,7 @@ public class TradeParty implements IZUGFeRDExportableTradeParty { protected String name, zip, street, location, country; protected String taxID = null, vatID = null; + protected String ID = null; protected String additionalAddress = null; protected ArrayList bankDetails = new ArrayList(); protected Contact contact = null; @@ -88,6 +87,16 @@ public class TradeParty implements IZUGFeRDExportableTradeParty { } + @Override + public String getID() { + return ID; + } + + public TradeParty setID(String ID) { + this.ID = ID; + return this; + } + public TradeParty setContact(Contact c) { this.contact = c; return this; @@ -202,4 +211,5 @@ public class TradeParty implements IZUGFeRDExportableTradeParty { return this; } + }