package com.braintree.transaction.dao;

import com.braintree.enums.BraintreePaymentTransactionStatus;
import de.hybris.platform.core.model.order.OrderModel;
import de.hybris.platform.core.servicelayer.data.SearchPageData;
import de.hybris.platform.payment.model.PaymentTransactionModel;

import java.util.List;
import java.util.Optional;

public interface BraintreeTransactionDAO {

    SearchPageData<PaymentTransactionModel> getPaymentTransactionsByStatuses(
            List<BraintreePaymentTransactionStatus> statuses, SearchPageData<PaymentTransactionModel> searchPage);

    PaymentTransactionModel findTransactionByTransactionId(String transactionId);

}
