updated javadoc

This commit is contained in:
Jochen Stärk
2020-10-17 18:22:34 +02:00
parent 8fd3e98b57
commit 55d35b6d0c
6 changed files with 14 additions and 12 deletions

View File

@@ -84,8 +84,8 @@ public class Invoice implements IExportableTransaction {
/***
* switch type to invoice correction and refer to document number
* @param number
* @return
* @param number the invoice number to be corrected
* @return this object (fluent setter)
*/
public Invoice setCorrection(String number) {
setBuyerOrderReferencedDocumentID(number);
@@ -428,7 +428,7 @@ public class Invoice implements IExportableTransaction {
/***
* checks if all required items are set in order to be able to export it
* @return
* @return true if all required items are set
*/
public boolean isValid() {
return (dueDate != null) && (sender != null) && (sender.getTaxID() != null) && (sender.getVATID() != null) && (recipient != null);