// Path: domain/src/main/java/com/raulh82vlc/TransactionsViewer/domain/exceptions/CustomException.java
// public class CustomException extends Exception {
//     public CustomException(String detailMessage) {
//         super(detailMessage);
//     }
// }
// 
// Path: domain/src/main/java/com/raulh82vlc/TransactionsViewer/domain/models/TransactionRatedDomain.java
// public class TransactionRatedDomain {
//     private BigDecimal amounPerTransactionPrev;
//     private BigDecimal amountPerTransactionCurrent;
//     private String currencyPrev;
//     private String currencyCurrent;
// 
//     public TransactionRatedDomain(String currencyPrev, String currencyCurrent,
//                                   BigDecimal amounPerTransactionPrev,
//                                   BigDecimal amountPerTransactionCurrent) {
//         this.currencyPrev = currencyPrev;
//         this.currencyCurrent = currencyCurrent;
//         this.amounPerTransactionPrev = amounPerTransactionPrev;
//         this.amountPerTransactionCurrent = amountPerTransactionCurrent;
//     }
// 
//     public BigDecimal getAmounPerTransactionPrev() {
//         return amounPerTransactionPrev;
//     }
// 
//     public BigDecimal getAmountPerTransactionCurrent() {
//         return amountPerTransactionCurrent;
//     }
// 
//     public String getCurrencyPrev() {
//         return currencyPrev;
//     }
// 
//     public String getCurrencyCurrent() {
//         return currencyCurrent;
//     }
// 
// }


import com.raulh82vlc.TransactionsViewer.domain.exceptions.CustomException;
import com.raulh82vlc.TransactionsViewer.domain.models.TransactionRatedDomain;
import java.util.List;
/*
 * Copyright (C) 2017 Raul Hernandez Lopez @raulh82vlc
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.raulh82vlc.TransactionsViewer.domain.interactors;



/**
 * Interactor which Computes Transactions to its different currency
 *
 * @author Raul Hernandez Lopez.
 */

public interface ComputeTransactionsInteractor {

    void execute(String skuFromProduct,
                 GetTransactionsComputedCallback getTransactionsComputedCallback,
                 String toCurrency,
// Path: domain/src/main/java/com/raulh82vlc/TransactionsViewer/domain/exceptions/CustomException.java
// public class CustomException extends Exception {
//     public CustomException(String detailMessage) {
//         super(detailMessage);
//     }
// }
// 
// Path: domain/src/main/java/com/raulh82vlc/TransactionsViewer/domain/models/TransactionRatedDomain.java
// public class TransactionRatedDomain {
//     private BigDecimal amounPerTransactionPrev;
//     private BigDecimal amountPerTransactionCurrent;
//     private String currencyPrev;
//     private String currencyCurrent;
// 
//     public TransactionRatedDomain(String currencyPrev, String currencyCurrent,
//                                   BigDecimal amounPerTransactionPrev,
//                                   BigDecimal amountPerTransactionCurrent) {
//         this.currencyPrev = currencyPrev;
//         this.currencyCurrent = currencyCurrent;
//         this.amounPerTransactionPrev = amounPerTransactionPrev;
//         this.amountPerTransactionCurrent = amountPerTransactionCurrent;
//     }
// 
//     public BigDecimal getAmounPerTransactionPrev() {
//         return amounPerTransactionPrev;
//     }
// 
//     public BigDecimal getAmountPerTransactionCurrent() {
//         return amountPerTransactionCurrent;
//     }
// 
//     public String getCurrencyPrev() {
//         return currencyPrev;
//     }
// 
//     public String getCurrencyCurrent() {
//         return currencyCurrent;
//     }
// 
// }


// Path: domain/src/main/java/com/raulh82vlc/TransactionsViewer/domain/interactors/ComputeTransactionsInteractor.java
import com.raulh82vlc.TransactionsViewer.domain.exceptions.CustomException;
import com.raulh82vlc.TransactionsViewer.domain.models.TransactionRatedDomain;
import java.util.List;

/*
 * Copyright (C) 2017 Raul Hernandez Lopez @raulh82vlc
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.raulh82vlc.TransactionsViewer.domain.interactors;



/**
 * Interactor which Computes Transactions to its different currency
 *
 * @author Raul Hernandez Lopez.
 */

public interface ComputeTransactionsInteractor {

    void execute(String skuFromProduct,
                 GetTransactionsComputedCallback getTransactionsComputedCallback,
                 String toCurrency,
                 String pathTransactions, String pathRates) throws CustomException;