class PaymentMethodsTableActionAlterations extends StubTableActionAlterations<PaymentMethod> {

    @NonNull
    @Override
    public Single<PaymentMethod> postUpdate(@NonNull PaymentMethod oldPaymentMethod, @Nullable PaymentMethod newPaymentMethod) {
        return super.postUpdate(oldPaymentMethod, newPaymentMethod)
                .doOnSuccess(ignored -> receiptsTable.clearCache());
    }

    public  PaymentMethodsTableActionAlterations(@NonNull ReceiptsTable receiptsTable);

}