/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package infrastructure; /** * * @author Kevin Robberts * @description this will be a global bean and transactions need to be synchronized */ public interface TransactionStatisticsInterface { void addTransaction(String merchant, String productid, String opcode, String response); int queryNumTransactions(); int queryNumTransactionReponses(String responsecode); int queryNumMerchantTransaction(String merchant); int queryNumProductTransaction(String merchant); int queryNumTransactions(String merchant); int queryNumTransactions(String merchant, String productid); int queryNumTransactions(String merchant, String productid, String opcode); int queryNumTransactions(String merchant, String productid, String opcode, String response); }