-
Notifications
You must be signed in to change notification settings - Fork 567
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#gh10501 extended payment endpoint to support allocation lines (#10502)
#10501 extended payment endpoint to support allocation lines
- Loading branch information
1 parent
d975768
commit d3caee1
Showing
54 changed files
with
2,932 additions
and
3,374 deletions.
There are no files selected for viewing
1,105 changes: 499 additions & 606 deletions
1,105
...d/de.metas.adempiere.adempiere/base/src/main/java-gen/org/compiere/model/I_C_Invoice.java
Large diffs are not rendered by default.
Oops, something went wrong.
1,598 changes: 548 additions & 1,050 deletions
1,598
...d/de.metas.adempiere.adempiere/base/src/main/java-gen/org/compiere/model/I_C_Payment.java
Large diffs are not rendered by default.
Oops, something went wrong.
1,363 changes: 346 additions & 1,017 deletions
1,363
...d/de.metas.adempiere.adempiere/base/src/main/java-gen/org/compiere/model/X_C_Invoice.java
Large diffs are not rendered by default.
Oops, something went wrong.
900 changes: 431 additions & 469 deletions
900
...d/de.metas.adempiere.adempiere/base/src/main/java-gen/org/compiere/model/X_C_Payment.java
Large diffs are not rendered by default.
Oops, something went wrong.
56 changes: 56 additions & 0 deletions
56
backend/de.metas.adempiere.adempiere/base/src/main/java/de/metas/invoice/InvoiceQuery.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/* | ||
* #%L | ||
* de.metas.adempiere.adempiere.base | ||
* %% | ||
* Copyright (C) 2021 metas GmbH | ||
* %% | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as | ||
* published by the Free Software Foundation, either version 2 of the | ||
* License, or (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public | ||
* License along with this program. If not, see | ||
* <http://www.gnu.org/licenses/gpl-2.0.html>. | ||
* #L% | ||
*/ | ||
|
||
package de.metas.invoice; | ||
|
||
import de.metas.document.DocBaseAndSubType; | ||
import de.metas.organization.OrgId; | ||
import de.metas.util.lang.ExternalId; | ||
import lombok.Builder; | ||
import lombok.NonNull; | ||
import lombok.Value; | ||
|
||
import javax.annotation.Nullable; | ||
|
||
@Value | ||
public class InvoiceQuery | ||
{ | ||
Integer invoiceId; | ||
ExternalId externalId; | ||
OrgId orgId; | ||
String documentNo; | ||
DocBaseAndSubType docType; | ||
|
||
@Builder(toBuilder = true) | ||
public InvoiceQuery(@Nullable final Integer invoiceId, | ||
@Nullable final ExternalId externalId, | ||
@NonNull final OrgId orgId, | ||
@Nullable final String documentNo, | ||
@Nullable final DocBaseAndSubType docType) | ||
{ | ||
this.invoiceId = invoiceId; | ||
this.externalId = externalId; | ||
this.orgId = orgId; | ||
this.documentNo = documentNo; | ||
this.docType = docType; | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
backend/de.metas.adempiere.adempiere/base/src/main/java/de/metas/order/OrderQuery.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* | ||
* #%L | ||
* de.metas.adempiere.adempiere.base | ||
* %% | ||
* Copyright (C) 2021 metas GmbH | ||
* %% | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as | ||
* published by the Free Software Foundation, either version 2 of the | ||
* License, or (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public | ||
* License along with this program. If not, see | ||
* <http://www.gnu.org/licenses/gpl-2.0.html>. | ||
* #L% | ||
*/ | ||
|
||
package de.metas.order; | ||
|
||
import de.metas.document.DocBaseAndSubType; | ||
import de.metas.organization.OrgId; | ||
import de.metas.util.lang.ExternalId; | ||
import lombok.Builder; | ||
import lombok.NonNull; | ||
import lombok.Value; | ||
|
||
import javax.annotation.Nullable; | ||
|
||
@Value | ||
public class OrderQuery | ||
{ | ||
Integer orderId; | ||
ExternalId externalId; | ||
OrgId orgId; | ||
String documentNo; | ||
DocBaseAndSubType docType; | ||
|
||
@Builder(toBuilder = true) | ||
public OrderQuery(@Nullable final Integer orderId, @Nullable final ExternalId externalId, @NonNull final OrgId orgId, @Nullable final String documentNo, @Nullable final DocBaseAndSubType docType) | ||
{ | ||
this.orderId = orderId; | ||
this.externalId = externalId; | ||
this.orgId = orgId; | ||
this.documentNo= documentNo; | ||
this.docType = docType; | ||
} | ||
} |
10 changes: 5 additions & 5 deletions
10
...s.rest-api-impl/src/main/java/de/metas/rest_api/bpartner/impl/BpartnerRestController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...ss.rest-api-impl/src/main/java/de/metas/rest_api/bpartner/impl/ContactRestController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...l/src/main/java/de/metas/rest_api/bpartner_pricelist/BpartnerPriceListRestController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.