public void BatchSearchForScannedContributionBatchesInProgress() { var batchQO = new API.Giving.QueryObject.BatchQO() { BatchStatusID = "6", BatchTypeID = "4" }; var batches = _client.GivingRealm.Batches.Search<API.Giving.Model.BatchSearchResults>(batchQO); batches.PageNumber.ShouldBe(1); }
public void GetRdcBatchItemsByBatchID() { var batchQO = new API.Giving.QueryObject.BatchQO() { BatchStatusID = "6", BatchTypeID = "4" }; var batches = _client.GivingRealm.Batches.Search<API.Giving.Model.BatchSearchResults>(batchQO); var rdcBatchItems = _client.GivingRealm.RDCBatchItems.GetListByBatchId(batches[0].ID.GetValueOrDefault()); rdcBatchItems.Count.ShouldBeGreaterThan(0); }