Delete filter (#56)

This commit is contained in:
struga 2024-03-19 21:04:29 +07:00 committed by GitHub
parent 4170e18a2c
commit 8e010136fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 17 deletions

View File

@ -58,11 +58,4 @@ public class InvoicePaymentUserInteractionChangeCompletedMapper extends NeedRead
message.setUserInteraction(userInteractionConverter.convert(ic));
}
@Override
public boolean accept(InvoiceChange change) {
return getFilter().match(change)
&& !change.getInvoicePaymentChange().getPayload().getInvoicePaymentSessionChange().getPayload()
.getSessionInteractionChanged()
.getStatus().isSetCompleted();
}
}

View File

@ -50,14 +50,5 @@ public class InvoicePaymentUserInteractionChangeRequestedMapper extends NeedRead
message.setPaymentStatus(PaymentStatusEnum.lookup(ic.getInvoicePaymentChange().getPayload()
.getInvoicePaymentStatusChanged().getStatus().getSetField().getFieldName()));
}
@Override
public boolean accept(InvoiceChange change) {
return getFilter().match(change)
&& !change.getInvoicePaymentChange().getPayload().getInvoicePaymentSessionChange()
.getPayload()
.getSessionInteractionChanged()
.getStatus()
.isSetRequested();
}
}