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

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

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