private Map<String, String> convertGetAccountActivity(GetAccountActivityRequest request) {
        
        Map<String, String> params = new HashMap<String, String>();
        params.put("Action", "GetAccountActivity");
        if (request.isSetMaxBatchSize()) {
            params.put("MaxBatchSize", request.getMaxBatchSize() + "");
        }
        if (request.isSetStartDate()) {
            params.put("StartDate", request.getStartDate() + "");
        }
        if (request.isSetEndDate()) {
            params.put("EndDate", request.getEndDate() + "");
        }
        if (request.isSetSortOrderByDate()) {
            params.put("SortOrderByDate", request.getSortOrderByDate().value());
        }
        if (request.isSetFPSOperation()) {
            params.put("FPSOperation", request.getFPSOperation().value());
        }
        if (request.isSetPaymentMethod()) {
            params.put("PaymentMethod", request.getPaymentMethod().value());
        }
        java.util.List<TransactionalRole> roleList  =  request.getRole();
        int roleListIndex = 1;
        for  (TransactionalRole role : roleList) { 
            params.put("Role" + "."  + roleListIndex, role.value());
            roleListIndex++;
        }	
        if (request.isSetTransactionStatus()) {
            params.put("TransactionStatus", request.getTransactionStatus().value());
        }

        return params;
    }