Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ artifacts/
**/bin/
**/obj/
**/.vs/
**/*.lscache
2 changes: 1 addition & 1 deletion HOWTO_08_pay_sign_issue_csharp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ static async Task Main(string[] args)
if (isDelivered)
{
Logger.LogInfo("Receipt has been delivered successfully.");
Logger.LogDebug($"Delivery details - {deliveryDateils.state}: {deliveryDateils.message}");
Logger.LogDebug($"Delivery details - {deliveryDateils?.Message}");
}
else
{
Expand Down
21 changes: 17 additions & 4 deletions libPosSystemAPI/DTO/IssueDeliveredResponse.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
namespace fiskaltrust.DevKit.POSSystemAPI.lib.DTO
using System.Collections.Generic;
using System.Text.Json.Serialization;

namespace fiskaltrust.DevKit.POSSystemAPI.lib.DTO
{
/// <summary>
/// Provides some details about how the delivery was executed for debug purpose.
/// </summary>
public class IssueDeliveredResponse
{
public string state { get; set; } = string.Empty;
public string message { get; set; } = string.Empty;
}
/// <summary>
/// A message describing how the delivery was executed.
/// </summary>
/// <example>""Receipt was printed at 01/30/2026 00:03:57. DeliveryMethod: customeraccepted"</example>
[JsonPropertyName("message")]
public string Message { get; set; } = string.Empty;

/// <summary>
Comment on lines +16 to +18
/// Additional arbitrary properties that will be serialized as top-level JSON fields
/// alongside the known properties.
/// </summary>
[JsonExtensionData]
public Dictionary<string, object?>? AdditionalProperties { get; set; } }
}
Loading