/// <summary>
 /// Sets response transaction codes in a payment transaction
 /// </summary>
 /// <param name="paymentTransaction"></param>
 /// <param name="transactionCodes"></param>
 public static void SetTransactionCodes(this PaymentTransaction paymentTransaction,
                                        Dictionary <string, object> transactionCodes)
 {
     foreach (var code in transactionCodes)
     {
         paymentTransaction.SetTransactionCode(code.Key, code.Value);
     }
 }