package com.braintree.service;

import com.braintree.command.result.BrainTreeAuthorizationResult;
import com.braintree.command.result.BrainTreeTransactionResult;
import com.braintree.enums.BTFraudToolReviewStatus;
import de.hybris.platform.core.model.order.AbstractOrderModel;
import de.hybris.platform.core.model.order.OrderModel;
import de.hybris.platform.payment.enums.PaymentTransactionType;
import de.hybris.platform.payment.model.PaymentTransactionEntryModel;
import de.hybris.platform.payment.model.PaymentTransactionModel;

public interface BrainTreeFraudCheckToolService {

    void saveBtFraudToolReviewStatus(PaymentTransactionModel transaction, BTFraudToolReviewStatus status);

    BTFraudToolReviewStatus translateStatusFromBtToHybris(String btStatus);

    void updateBtFraudToolReviewStatus(PaymentTransactionModel transaction, BrainTreeAuthorizationResult result);

    void updateTransactionStatus(PaymentTransactionModel transaction, BTFraudToolReviewStatus decision);

}
