getCashDiscounts to CashDiscount object

This commit is contained in:
jstaerk
2025-10-28 17:08:31 +01:00
parent 528e9ac0d8
commit b1b1bd1d56
2 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
- upgrade to pdfbox 3.0.6
- #950
- #959
- change return type of getCashDiscounts to CashDiscount object, not interface
2.19.1
=======

View File

@@ -135,8 +135,8 @@ public class Invoice implements IExportableTransaction {
}
@Override
public IZUGFeRDCashDiscount[] getCashDiscounts() {
return cashDiscounts.toArray(new IZUGFeRDCashDiscount[0]);
public CashDiscount[] getCashDiscounts() {
return cashDiscounts.toArray(new CashDiscount[0]);
}
@Override