<commit_before>package TransactionReporting;

public class GetSettledBatchList {

	public static void main(String apiLoginId, String transactionKey) {
		// TODO Auto-generated method stub
		System.out.println("Get Batch Statistics Sample");
	}

}<commit_msg>Get settled Batch List code<commit_after>package net.authorize.sample.TransactionReporting;

import net.authorize.Environment;
import net.authorize.api.contract.v1.*;
import net.authorize.api.controller.GetSettledBatchListController;
import net.authorize.api.controller.base.ApiOperationBase;

//author @krgupta
public class GetSettledBatchList {

     public static void run(String apiLoginId, String transactionKey) {

        ApiOperationBase.setEnvironment(Environment.SANDBOX);

        MerchantAuthenticationType merchantAuthenticationType  = new MerchantAuthenticationType() ;
        merchantAuthenticationType.setName(apiLoginId);
        merchantAuthenticationType.setTransactionKey(transactionKey);
        ApiOperationBase.setMerchantAuthentication(merchantAuthenticationType);
            
        GetSettledBatchListRequest getRequest = new GetSettledBatchListRequest();
        getRequest.setMerchantAuthentication(merchantAuthenticationType);
        GetSettledBatchListController controller = new GetSettledBatchListController(getRequest);
        controller.execute();
        GetSettledBatchListResponse getResponse = new GetSettledBatchListResponse();
         if (getResponse!=null) {

             if (getResponse.getMessages().getResultCode() == MessageTypeEnum.OK) {

                System.out.println(getResponse.getMessages().getMessage().get(0).getCode());
                System.out.println(getResponse.getMessages().getMessage().get(0).getText());
            }
            else
            {
                System.out.println("Failed to get settled batch list:  " + getResponse.getMessages().getResultCode());
            }
        }
}
}


{'fraction_non_alphanumeric': 0.08812856402280975, 'fraction_numerical': 0.0015552099533437014, 'mean_word_length': 3.8129675810473818, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '985924', 'n_tokens_mistral': 494, 'n_tokens_neox': 481, 'n_words': 83}