Add payment data export
This commit is contained in:
@ -45,6 +45,7 @@ namespace Hcs.TestApp
|
||||
var paymentsScenario = new PaymentsScenario(client);
|
||||
try
|
||||
{
|
||||
//billsScenario.ExportPaymentDocumentData();
|
||||
//billsScenario.ImportPaymentDocumentData();
|
||||
|
||||
//deviceMeteringScenario.ExportMeteringDeviceHistory();
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
using Hcs.Client.Api.Payload.Bills;
|
||||
using Hcs.Client.Api.Registry;
|
||||
using Hcs.Client.Api.Type;
|
||||
using Hcs.Service.Async.Bills;
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
namespace Hcs.TestApp.Scenario
|
||||
{
|
||||
@ -11,6 +11,12 @@ namespace Hcs.TestApp.Scenario
|
||||
{
|
||||
private readonly UniClient client = client;
|
||||
|
||||
internal void ExportPaymentDocumentData()
|
||||
{
|
||||
var result = client.Bills.ExportPaymentDocumentDataAsync(2025, 8, "c48e5025-f77a-494f-8aab-f773da623a25", "019917a8-6eb6-74cc-99b7-58350127ac50").Result;
|
||||
Console.WriteLine("Scenario execution " + (result != null && result.Count() > 0 ? "succeeded" : "failed"));
|
||||
}
|
||||
|
||||
internal void ImportPaymentDocumentData()
|
||||
{
|
||||
var paymentInformation = new ImportPaymentDocumentDataPayload.PaymentInformation()
|
||||
|
||||
Reference in New Issue
Block a user