20 lines
754 B
C#
20 lines
754 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using LCU.API.Collections.RepoApi.Domain.Processing;
|
|
using LCU.Shared.Collections.RepoApiLib.Models;
|
|
|
|
namespace LCU.API.Collections.RepoApi.Domain.AlertChecker
|
|
{
|
|
public class SaleFundsReceivedChecker : TransactionHistoryChecker
|
|
{
|
|
private readonly List<string> _watchedStatuses = null;
|
|
private readonly List<string> _watchedTransactionTypes = new List<string> { "PRCT" };
|
|
private const string Message = "Sale Funds Received";
|
|
|
|
public override List<EventAlert> CheckForAlert(RepoAccountProcessingSlip slip)
|
|
{
|
|
return StandardizedCheckForAlert(new AlertProcessingSlip(slip, Message, _watchedStatuses, _watchedTransactionTypes));
|
|
}
|
|
}
|
|
}
|