60 lines
2.6 KiB
C#
60 lines
2.6 KiB
C#
using LCU.Shared.Collections.RepoApiLib.Models.AutoIms;
|
|
using System.Collections.Generic;
|
|
using LCU.Shared.Realtime.QueueLib.Models;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace LCU.API.Collections.RepoApi.Configuration
|
|
{
|
|
public class RepoApiConfiguration : IHostedTaskSchedulerConfig
|
|
{
|
|
public string ExchangeName { get; set; }
|
|
public IReadOnlyCollection<ScheduledTaskConfig> TaskConfigs { get; set; }
|
|
public string OrganizationCode { get; set; }
|
|
public int SettingsCacheExpirationSeconds { get; set; }
|
|
public List<string> ProgrammingRecipients { get; set; }
|
|
public List<string> RepoManagerAdminRecipients { get; set; }
|
|
public List<string> FloorPriceAcceptedRecipients { get; set; }
|
|
public List<string> CollectionsClerkRecipients { get; set; }
|
|
public List<string> CollectionsRecipients { get; set; }
|
|
public List<string> CreditDebitsRecipients { get; set; }
|
|
public List<string> TransactionTypeCodes { get; set; }
|
|
public string TransactionTypeCodeQueryPrefix { get; set; }
|
|
public string TransactionHistoryParameterDateFormat { get; set; }
|
|
public int TransactionHistoryStartDateOffset { get; set; }
|
|
public string NotificationsEmailUrl { get; set; }
|
|
public string RepoManagerAccountUrl { get; set; }
|
|
|
|
// URLs for data from Collections (Intellect/CORS/Temenos)
|
|
public string CollectionsLetterUrl { get; set; }
|
|
public string CollectionAccountUrl { get; set; }
|
|
|
|
// URLs for data from Core.
|
|
public string CoreLoanUrl { get; set; }
|
|
public string CoreCollateralUrl { get; set; }
|
|
public string CoreMemberUrl { get; set; }
|
|
public string CoreLoanTransactions { get; set; }
|
|
public string CoreBranchSetUrl { get; set; }
|
|
|
|
// Auto IMS Import
|
|
public FtpConfiguration FtpConfiguration { get; set; }
|
|
public string RemoteFilePath { get; set; }
|
|
public string LocalDirectoryPath { get; set; }
|
|
public string ConditionReportUrl { get; set; }
|
|
public bool MoveProcessedFiles { get; set; }
|
|
public bool DownloadNewFiles { get; set; }
|
|
public bool CheckForLocalFiles { get; set; }
|
|
public string CollectionsConfigUrl { get; set; }
|
|
|
|
public IReadOnlyCollection<ScheduledTaskConfig> GetTaskConfigurations()
|
|
{
|
|
return TaskConfigs;
|
|
}
|
|
|
|
public string GetExchangeName()
|
|
{
|
|
return ExchangeName;
|
|
}
|
|
|
|
public IDictionary<string, QueueConsumerConfig> QueueConsumerConfigs { get; set; }
|
|
}
|
|
} |