Class Invoice
- Assembly
- arolariu.Backend.Domain.Invoices.dll
The Invoice model as "represented" in the Application Domain.
public sealed class Invoice : NamedEntity<Guid>, IAuditable
- Inheritance
-
Invoice
- Implements
- Inherited Members
Properties
AdditionalMetadata
The invoice additional metadata. This metadata is used to store additional information about the invoice. Metadata is used to generate the invoice statistics.
[JsonPropertyOrder(11)]
public IDictionary<string, string> AdditionalMetadata { get; private set; }
Property Value
Category
The invoice category.
[JsonPropertyOrder(5)]
public InvoiceCategory Category { get; set; }
Property Value
Items
The invoice 1:*? - item relationship.
[JsonPropertyOrder(9)]
public ICollection<Product> Items { get; init; }
Property Value
MerchantReference
The invoice's possible merchant relationship.
[JsonPropertyOrder(8)]
public Guid MerchantReference { get; set; }
Property Value
PaymentInformation
Payment information (currency, total amount, total tax).
[JsonPropertyOrder(7)]
public PaymentInformation PaymentInformation { get; set; }
Property Value
PhotoLocation
The invoice photo location.
[JsonPropertyOrder(6)]
public required Uri PhotoLocation { get; set; }
Property Value
PossibleRecipes
Possible recipes for the invoice.
[JsonPropertyOrder(10)]
public ICollection<Recipe> PossibleRecipes { get; init; }
Property Value
SharedWith
The list of users that have access to this invoice.
[JsonPropertyOrder(4)]
public ICollection<Guid> SharedWith { get; init; }
Property Value
UserIdentifier
The invoice 1:1 user relationship (owner).
[JsonPropertyOrder(3)]
public required Guid UserIdentifier { get; set; }
Property Value
id
The identity of the entity.
[JsonPropertyName("id")]
[JsonPropertyOrder(0)]
public override required Guid id { get; init; }