package com.banesco.module.black_list.application.usecase;

import com.banesco.common.domain.model.Either;
import com.banesco.module.payment_instruction_request.domain.dto.request.PaymentInstructionRequestRequest;

public interface BlackListUseCase {
    <T, R> Either<T, R> execute(
        PaymentInstructionRequestRequest apiRequest,
        Class<T> responseType,
        Class<R> errorType
    );
}
