package com.braintree.order.submitForSettlement.service;

import com.braintree.exceptions.BraintreeErrorException;
import de.hybris.platform.core.model.order.OrderModel;
import de.hybris.platform.payment.model.PaymentTransactionEntryModel;

import java.math.BigDecimal;


public interface BraintreeSubmitForSettlementService {

    PaymentTransactionEntryModel submitForSettlement(OrderModel orderModel, BigDecimal amount, PaymentTransactionEntryModel entry, boolean isOrderToBeForceCompleted)
            throws BraintreeErrorException;

    boolean isSubmitForSettlementAvailable(OrderModel orderModel);
}
