Issue #458 Restore old public api

This commit is contained in:
Jens Nober
2025-01-18 15:10:20 +01:00
parent 53646a615e
commit 42e8f80481
6 changed files with 45 additions and 23 deletions

View File

@@ -225,7 +225,7 @@ public class ZF2EdgeTest extends MustangReaderTestCase {
}
@Override
public IZUGFeRDPaymentTerms[] getPaymentTerms() {
public IZUGFeRDPaymentTerms getPaymentTerms() {
PaymentDiscountTerms paymentDiscountTerms =
new PaymentDiscountTerms(
new BigDecimal(2), // skonto prozent
@@ -240,13 +240,11 @@ public class ZF2EdgeTest extends MustangReaderTestCase {
e.printStackTrace();
}
return new IZUGFeRDPaymentTerms[]{
new PaymentTerms(
return new PaymentTerms(
"14 Tage 2% Skonto, 30 Tage rein netto",
due,// fälligkeitsdatum
paymentDiscountTerms //PaymentDiscountTerms
)
};
);
}
@Override