Свойства |
|
| int |
CreditId
[get, set]
|
|
Идентификатор кредита.
|
|
| FCU |
Fcu
[get, set]
|
|
ФКУ которому принадлежит кредит.
|
|
| string |
Number
[get, set]
|
|
Номер.
|
|
| double |
Amount
[get, set]
|
|
Сумма.
|
|
| DateTime |
DateAward
[get, set]
|
|
Дата выдачи.
|
|
| Int64 |
UniqueCreditNumber
[get, set]
|
|
Уникальный номер кредита.
|
|
| CreditStatusEx |
CreditStatusEx
[get, set]
|
|
Элемент справочника "Статус кредита".
|
|
| CreditType |
CreditType
[get, set]
|
|
Элемент справочника "Тип кредита".
|
|
| Currency |
Currency
[get, set]
|
|
Элемент справочника "Валюты".
|
|
| string |
Participants
[get, set]
|
|
Строка содержащая участников кредита.
|
|
| int |
ParticipantsCount
[get, set]
|
|
Количество участников кредита.
|
|
| int |
ParticipantsCountNotVerified
[get, set]
|
|
Количество не проверифицированных участников кредита.
|
|
| bool |
VerificationAlert
[get, set]
|
|
Флаг показывающий сигнал тревоги верификации. Невозможно верифицировать одного или
несколько участников кредита.
|
|
Получение списка кредитов за период
FCU filial = new FCU
{
BankCode = 0,
BankName = "КИБ ИШЕНИМ",
FilialCode = 999,
FilialName = "Тестовый пользователь"
};
AutomatServiceClient client = new AutomatServiceClient();
List<CreditPreview> creditList = new List<CreditPreview>()
creditList.AddRange(
client.CreditListForThePeriod(
filial, // филиал
DateTime.Today.AddMonths(-1), // начало периода
DateTime.Today // конец периода
)
);
client.Close();
foreach(CreditPreview credit in creditList)
{
Console.WriteLine("-CREDIT-");
Console.WriteLine("Number: {0}",credit.Number);
Console.WriteLine("Amount: {0}",credit.Amount);
Console.WriteLine("Currency: {0} - {1}", credit.Currency.Code, credit.Currency.Name);
Console.WriteLine("CreditType: {0}",credit.CreditType.Name);
Console.WriteLine("other data...");
Console.WriteLine();
}
Получение списка к выдаче
FCU filial = new FCU
{
BankCode = 0,
BankName = "КИБ ИШЕНИМ",
FilialCode = 999,
FilialName = "Тестовый пользователь"
};
AutomatServiceClient client = new AutomatServiceClient();
List<CreditPreview> creditList = new List<CreditPreview>()
creditList.AddRange(client.CreditListToAward(filial));
client.Close();
foreach(CreditPreview credit in creditList)
{
Console.WriteLine("-CREDIT-");
Console.WriteLine("Number: {0}",credit.Number);
Console.WriteLine("Amount: {0}",credit.Amount);
Console.WriteLine("Currency: {0} - {1}", credit.Currency.Code, credit.Currency.Name);
Console.WriteLine("CreditType: {0}",credit.CreditType.Name);
Console.WriteLine("other data...");
Console.WriteLine();
}
Получение списка к погашению
FCU filial = new FCU
{
BankCode = 0,
BankName = "КИБ ИШЕНИМ",
FilialCode = 999,
FilialName = "Тестовый пользователь"
};
AutomatServiceClient client = new AutomatServiceClient();
List<CreditPreview> creditList = new List<CreditPreview>()
creditList.AddRange(client.CreditListOfRepayment(filial));
client.Close();
foreach(CreditPreview credit in creditList)
{
Console.WriteLine("-CREDIT-");
Console.WriteLine("Number: {0}",credit.Number);
Console.WriteLine("Amount: {0}",credit.Amount);
Console.WriteLine("Currency: {0} - {1}", credit.Currency.Code, credit.Currency.Name);
Console.WriteLine("CreditType: {0}",credit.CreditType.Name);
Console.WriteLine("other data...");
Console.WriteLine();
}