public MultiGatewayTransaction(TransactionRequest request, IList <PaymentAccount> accounts) { Request = request; _accounts = accounts; }
public static Transaction CreateTransaction(TransactionRequest request, PaymentAccountDetails account) { return(new Transaction(request, account.Account)); }
public override TransactionResponse CommitTransaction(TransactionRequest request) { return(CommitTransactionNormal(request)); }
/// <exception cref="DbException"/> //public static Transaction CreateTransaction(TransactionRequest request) //{ // var gatewayDetails = PaymentAccountDetails.AllGateways; // return createMultiGatewayTransaction(request, gatewayDetails); //} /// <exception cref="DbException"/> public static Transaction CreateTransaction <T>(TransactionRequest request) where T : PaymentAccountDetails { var gatewayDetails = TableHelper.SelectAllRows <T>(); return(createMultiGatewayTransaction(request, gatewayDetails)); }