Rename
This commit is contained in:
@ -11,27 +11,27 @@ namespace Hcs.TestApp.Scenario
|
||||
{
|
||||
private readonly UniClient client = client;
|
||||
|
||||
internal void ImportPaymentDocument()
|
||||
internal void ImportPaymentDocumentData()
|
||||
{
|
||||
var paymentInformation = new ImportPaymentDocumentPayload.PaymentInformation()
|
||||
var paymentInformation = new ImportPaymentDocumentDataPayload.PaymentInformation()
|
||||
{
|
||||
bankBIK = "049805609",
|
||||
operatingAccountNumber = "40602810276000100228"
|
||||
};
|
||||
var payload = new ImportPaymentDocumentPayload()
|
||||
var payload = new ImportPaymentDocumentDataPayload()
|
||||
{
|
||||
confirmAmountsCorrect = true,
|
||||
month = 8,
|
||||
year = 2025,
|
||||
paymentInformation = [paymentInformation],
|
||||
paymentDocument = [new ImportPaymentDocumentPayload.PaymentDocument()
|
||||
paymentDocument = [new ImportPaymentDocumentDataPayload.PaymentDocument()
|
||||
{
|
||||
paymentInformation = paymentInformation,
|
||||
accountGuid = "019917a8-6eb6-74cc-99b7-58350127ac50",
|
||||
paymentDocumentNumber = "23900701600162023",
|
||||
chargeInfo =
|
||||
[
|
||||
new ImportPaymentDocumentPayload.MunicipalService()
|
||||
new ImportPaymentDocumentDataPayload.MunicipalService()
|
||||
{
|
||||
moneyRecalculation = 0M,
|
||||
moneyDiscount = 0M,
|
||||
@ -63,7 +63,7 @@ namespace Hcs.TestApp.Scenario
|
||||
}]
|
||||
};
|
||||
|
||||
var result = client.Bills.ImportPaymentDocumentAsync(payload).Result;
|
||||
var result = client.Bills.ImportPaymentDocumentDataAsync(payload).Result;
|
||||
Console.WriteLine("Scenario execution " + (result ? "succeeded" : "failed"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user