mirror of
https://github.com/valitydev/hooker.git
synced 2024-11-06 00:05:17 +00:00
Delete filter (#56)
This commit is contained in:
parent
4170e18a2c
commit
8e010136fc
@ -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();
|
||||
}
|
||||
}
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user