-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
return object on post of order (#250)
- Loading branch information
Showing
4 changed files
with
46 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Altinn.Notifications.Models | ||
{ | ||
/// <summary> | ||
/// A class representing a container for an order id. | ||
/// </summary> | ||
/// <remarks> | ||
/// External representaion to be used in the API. | ||
/// </remarks> | ||
public class OrderIdExt | ||
{ | ||
/// <summary> | ||
/// The order id | ||
/// </summary> | ||
[JsonPropertyName("orderId")] | ||
public Guid OrderId { get; set; } | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="OrderIdExt"/> class. | ||
/// </summary> | ||
public OrderIdExt(Guid orderId) | ||
{ | ||
OrderId = orderId; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters