52 lines
1.4 KiB
C#
52 lines
1.4 KiB
C#
using System.Collections.Generic;
|
|
using Kreta.Core.Configuratiaton;
|
|
using Kreta.DataAccessManual.ParameterClasses;
|
|
using Kreta.Job.Tasks.Core;
|
|
|
|
namespace Kreta.Job.Tasks
|
|
{
|
|
|
|
public class MkbBankszamlaIgenylesJob : BankszamlaIgenylesJob, IMkbBankszamlaIgenylesJob
|
|
{
|
|
private readonly string MKB_IN = "\\MKB_IN\\";
|
|
private readonly string MKB_ERROR = "\\MKB_ERROR\\";
|
|
private readonly string MKB_OK = "\\MKB_OK\\";
|
|
private readonly string MKB_ARCHIVE = "\\MKB_ARCHIVE\\";
|
|
|
|
public void MkbBankszamlaIgenyles()
|
|
{
|
|
RunBankszamlaIgenylesJob<MkbBankszamlaIgenylesConfiguration>();
|
|
}
|
|
|
|
protected override string GetInPart()
|
|
{
|
|
return MKB_IN;
|
|
}
|
|
|
|
protected override string GetErrorPart()
|
|
{
|
|
return MKB_ERROR;
|
|
}
|
|
|
|
protected override string GetOkPart()
|
|
{
|
|
return MKB_OK;
|
|
}
|
|
|
|
protected override string GetArchivePart()
|
|
{
|
|
return MKB_ARCHIVE;
|
|
}
|
|
|
|
protected override string DecryptEgyediAzonosito(string receivedEgyediAzonosito)
|
|
{
|
|
return receivedEgyediAzonosito;
|
|
}
|
|
|
|
protected override bool HasRowWithError(List<BankszamlaIgenylesPco> bankszamlaIgenylesPcos)
|
|
{
|
|
// NOTE: MKB esetén mindig kell küldeni email-t.
|
|
return true;
|
|
}
|
|
}
|
|
}
|