Skip to content

Commit

Permalink
Merge pull request #276 from amihaiemil/273
Browse files Browse the repository at this point in the history
#273 updated to core 69
  • Loading branch information
amihaiemil authored Mar 13, 2021
2 parents 7d42b1a + bbfab46 commit 0acad03
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<name>Self XDSD Storage Module</name>
<description>Storage Module for Self XDSD</description>
<properties>
<self.core.version>0.0.68</self.core.version>
<self.core.version>0.0.69</self.core.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/selfxdsd/storage/SelfInvoices.java
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ private Invoice buildInvoice(final Record record, final Contract contract) {
final Payment latest;
if(record.getValue(SLF_PAYMENTS_XDSD.STATUS) != null) {
latest = new StoredPayment(
null,
record.getValue(SLF_INVOICES_XDSD.INVOICEID),
record.getValue(SLF_PAYMENTS_XDSD.TRANSACTIONID),
record.getValue(SLF_PAYMENTS_XDSD.PAYMENT_TIMESTAMP),
BigDecimal.valueOf(
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/selfxdsd/storage/SelfPayments.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public Payment register(
);
} else {
return new StoredPayment(
invoice,
invoice.invoiceId(),
transactionId,
timestamp,
value,
Expand All @@ -120,7 +120,7 @@ public Payments ofInvoice(final Invoice invoice) {
.stream()
.map(
rec -> new StoredPayment(
invoice,
invoice.invoiceId(),
rec.getValue(SLF_PAYMENTS_XDSD.TRANSACTIONID),
rec.getValue(SLF_PAYMENTS_XDSD.PAYMENT_TIMESTAMP),
BigDecimal.valueOf(
Expand Down

0 comments on commit 0acad03

Please sign in to comment.