public String getTransactionProduct(Map<String, String> transactionDetails) {

    return transactionDetails.get(TRANSACTIONS_TABLE_COLUMNS.PRODUCT.toString());
  }
  public Map<String, String> getTransactionDetailsById(String transactionID) {

    Map<String, String> transactionDetails = new HashMap<String, String>();

    transactionDetails.put(
        TRANSACTIONS_TABLE_COLUMNS.ID.toString(),
        getColumnRowValueByColumnRowValue(
            TRANSACTIONS_TABLE_COLUMNS.ID.toString(),
            transactionID,
            TRANSACTIONS_TABLE_COLUMNS.ID.toString()));
    transactionDetails.put(
        TRANSACTIONS_TABLE_COLUMNS.USERNAME.toString(),
        getColumnRowValueByColumnRowValue(
            TRANSACTIONS_TABLE_COLUMNS.ID.toString(),
            transactionID,
            TRANSACTIONS_TABLE_COLUMNS.USERNAME.toString()));
    transactionDetails.put(
        TRANSACTIONS_TABLE_COLUMNS.DATE.toString(),
        getColumnRowValueByColumnRowValue(
            TRANSACTIONS_TABLE_COLUMNS.ID.toString(),
            transactionID,
            TRANSACTIONS_TABLE_COLUMNS.DATE.toString()));
    transactionDetails.put(
        TRANSACTIONS_TABLE_COLUMNS.AMOUNT.toString(),
        getColumnRowValueByColumnRowValue(
            TRANSACTIONS_TABLE_COLUMNS.ID.toString(),
            transactionID,
            TRANSACTIONS_TABLE_COLUMNS.AMOUNT.toString()));
    transactionDetails.put(
        TRANSACTIONS_TABLE_COLUMNS.CURRENCY.toString(),
        getColumnRowValueByColumnRowValue(
            TRANSACTIONS_TABLE_COLUMNS.ID.toString(),
            transactionID,
            TRANSACTIONS_TABLE_COLUMNS.CURRENCY.toString()));
    transactionDetails.put(
        TRANSACTIONS_TABLE_COLUMNS.PRODUCT.toString(),
        getColumnRowValueByColumnRowValue(
            TRANSACTIONS_TABLE_COLUMNS.ID.toString(),
            transactionID,
            TRANSACTIONS_TABLE_COLUMNS.PRODUCT.toString()));
    transactionDetails.put(
        TRANSACTIONS_TABLE_COLUMNS.SERVICE.toString(),
        getColumnRowValueByColumnRowValue(
            TRANSACTIONS_TABLE_COLUMNS.ID.toString(),
            transactionID,
            TRANSACTIONS_TABLE_COLUMNS.SERVICE.toString()));
    transactionDetails.put(
        TRANSACTIONS_TABLE_COLUMNS.METHOD.toString(),
        getColumnRowValueByColumnRowValue(
            TRANSACTIONS_TABLE_COLUMNS.ID.toString(),
            transactionID,
            TRANSACTIONS_TABLE_COLUMNS.METHOD.toString()));
    transactionDetails.put(
        TRANSACTIONS_TABLE_COLUMNS.COUNTRY.toString(),
        getColumnRowValueByColumnRowValue(
            TRANSACTIONS_TABLE_COLUMNS.ID.toString(),
            transactionID,
            TRANSACTIONS_TABLE_COLUMNS.COUNTRY.toString()));

    return transactionDetails;
  }
  public boolean isTransactionProductCorrect(
      Map<String, String> transactionDetails, String product) {

    return transactionDetails.get(TRANSACTIONS_TABLE_COLUMNS.PRODUCT.toString()).equals(product);
  }