package it.integry.integrywmsnative.gest.contenuto_bancale;

import javax.inject.Inject;

import it.integry.integrywmsnative.core.interfaces.viewmodel_listeners.ILoadingListener;
import it.integry.integrywmsnative.core.model.MtbColt;
import it.integry.integrywmsnative.core.rest.consumers.DepositoRESTConsumer;
import it.integry.integrywmsnative.core.rest.consumers.PrinterRESTConsumer;

public class ContenutoBancaleViewModel {

    private final DepositoRESTConsumer mDepositoRESTConsumer;


    private Listener mListener;

    @Inject
    public ContenutoBancaleViewModel(DepositoRESTConsumer depositoRESTConsumer) {
        this.mDepositoRESTConsumer = depositoRESTConsumer;
    }

    public void init(MtbColt mtbColt, PrinterRESTConsumer.Type printerType, String defaultReportName) {


    }


    public ContenutoBancaleViewModel setListener(Listener listener) {
        this.mListener = listener;
        return this;
    }

    public interface Listener extends ILoadingListener  {

        void onError(Exception ex);

    }

}
