If the interface is implemented correctly, ZF2EdgeTest now already writes a BT-17 incl Date
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package org.mustangproject.ZUGFeRD;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public interface IDatedReference {
|
||||
public String getID();
|
||||
default Date getDate() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -214,6 +214,15 @@ public interface IExportableTransaction {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* BT-17 tender or lot reference
|
||||
*
|
||||
* @return mandatory ID, optional Date
|
||||
*/
|
||||
default IDatedReference getTenderReference() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* own name
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user