/// <summary> /// Returns all transaction within a particular batch /// </summary> public List <Transaction> GetTransactionList(string batchId) { var req = new getTransactionListRequest(); req.batchId = batchId; var response = (getTransactionListResponse)_gateway.Send(req); return(Transaction.NewListFromResponse(response.transactions)); }
/// <summary> /// Returns all transaction for a Customer Profile /// </summary> public List <Transaction> GetCustomerTransactionList(string customerProfileId) { var req = new getTransactionListForCustomerRequest { customerProfileId = customerProfileId }; var response = (getTransactionListForCustomerResponse)_gateway.Send(req); return(Transaction.NewListFromResponse(response.transactions)); }
/// <summary> /// Returns all transactions for a given customerProfileId /// </summary> public List <Transaction> GetTransactionList(string customerProfileId, string customerPaymentProfileId) { var request = new getTransactionListForCustomerRequest(); request.customerProfileId = customerProfileId; request.customerPaymentProfileId = customerPaymentProfileId; var response = (getTransactionListResponse)_gateway.Send(request); return(Transaction.NewListFromResponse(response.transactions)); }
/// <summary> /// returns the most recent 1000 transactions that are unsettled /// </summary> /// <returns></returns> public List <Transaction> GetUnsettledTransactionList() { var response = (getUnsettledTransactionListResponse)_gateway.Send(new getUnsettledTransactionListRequest()); return(Transaction.NewListFromResponse(response.transactions)); }