×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: koos roos
Added: Aug 26, 2014 2:51 PM
Views: 1791
Tags: no tags
  1. /*
  2.  * To change this license header, choose License Headers in Project Properties.
  3.  * To change this template file, choose Tools | Templates
  4.  * and open the template in the editor.
  5.  */
  6. package infrastructure;
  7.  
  8. /**
  9.  *
  10.  * @author Kevin Robberts
  11.  * @description  this will be a global bean and transactions need to be synchronized
  12.  */
  13. public interface TransactionStatisticsInterface {
  14.  
  15.     void addTransaction(String merchant, String productid, String opcode, String response);
  16.  
  17.     int queryNumTransactions();
  18.  
  19.     int queryNumTransactionReponses(String responsecode);
  20.  
  21.     int queryNumMerchantTransaction(String merchant);
  22.  
  23.     int queryNumProductTransaction(String merchant);
  24.  
  25.     int queryNumTransactions(String merchant);
  26.  
  27.     int queryNumTransactions(String merchant, String productid);
  28.  
  29.     int queryNumTransactions(String merchant, String productid, String opcode);
  30.  
  31.     int queryNumTransactions(String merchant, String productid, String opcode, String response);
  32. }
  33.