- allow prepaid amount in invoice class
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
- allow Bank credentials without BIC
|
||||
- allow minimum profile without delivery date
|
||||
- allow prepaid amount in invoice class
|
||||
|
||||
2.6.0 "Joyeux Noël"
|
||||
=======
|
||||
|
||||
@@ -52,6 +52,7 @@ public class Invoice implements IExportableTransaction {
|
||||
protected String contractReferencedDocument = null;
|
||||
protected ArrayList<FileAttachment> xmlEmbeddedFiles=null;
|
||||
|
||||
protected BigDecimal totalPrepaidAmount = null;
|
||||
protected Date detailedDeliveryDateStart = null;
|
||||
protected Date detailedDeliveryPeriodEnd = null;
|
||||
|
||||
@@ -273,6 +274,22 @@ public class Invoice implements IExportableTransaction {
|
||||
return buyerOrderReferencedDocumentIssueDateTime;
|
||||
}
|
||||
|
||||
|
||||
/***
|
||||
* allow to set a amount which has already been paid
|
||||
* @param prepaid null is possible to omit
|
||||
* @return fluent setter
|
||||
*/
|
||||
public Invoice setTotalPrepaidAmount(BigDecimal prepaid) {
|
||||
totalPrepaidAmount=prepaid;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BigDecimal getTotalPrepaidAmount() {
|
||||
return totalPrepaidAmount;
|
||||
}
|
||||
|
||||
/***
|
||||
* when the order (or whatever reference in BuyerOrderReferencedDocumentID) was issued (@todo switch to date?)
|
||||
* @param buyerOrderReferencedDocumentIssueDateTime IssueDateTime in format CCYY-MM-DDTHH:MM:SS
|
||||
|
||||
Reference in New Issue
Block a user