protected String toJSONFragment() {
        StringBuffer json = new StringBuffer();
        boolean first = true;
        if (isSetBatchSize()) {
            if (!first) json.append(", ");
            json.append(quoteJSON("BatchSize"));
            json.append(" : ");
            json.append(quoteJSON(getBatchSize() + ""));
            first = false;
        }
        if (isSetTransaction()) {
            if (!first) json.append(", ");
            json.append("\"Transaction\" : [");
            java.util.List<Transaction> transactionList = getTransaction();
            int transactionListIndex = 0;
            for (Transaction transaction : transactionList) {
                if (transactionListIndex > 0) json.append(", ");
                json.append("{");
                json.append("");
                json.append(transaction.toJSONFragment());
                json.append("}");
                first = false;
                ++transactionListIndex;
            }
            json.append("]");
        }
        if (isSetStartTimeForNextTransaction()) {
            if (!first) json.append(", ");
            json.append(quoteJSON("StartTimeForNextTransaction"));
            json.append(" : ");
            json.append(quoteJSON(getStartTimeForNextTransaction() + ""));
            first = false;
        }
        return json.toString();
    }