Interface IInvoiceOrchestrationService
- Assembly
- arolariu.Backend.Domain.Invoices.dll
The invoice orchestration service interface represents the orchestration service for the invoice domain.
public interface IInvoiceOrchestrationService
Methods
AnalyzeInvoiceWithOptions(Invoice, AnalysisOptions)
Analyze an invoice.
Task AnalyzeInvoiceWithOptions(Invoice invoice, AnalysisOptions options)
Parameters
invoice
Invoiceoptions
AnalysisOptions
Returns
CreateInvoiceObject(Invoice)
Creates an invoice object.
Task<Invoice> CreateInvoiceObject(Invoice invoice)
Parameters
invoice
Invoice
Returns
DeleteInvoiceObject(Guid)
Deletes an invoice object.
Task DeleteInvoiceObject(Guid identifier)
Parameters
identifier
Guid
Returns
DeleteInvoiceObject(Guid, Guid)
Deletes an invoice object.
Task DeleteInvoiceObject(Guid identifier, Guid userIdentifier)
Parameters
Returns
ReadAllInvoiceObjects()
Reads all invoice objects.
Task<IEnumerable<Invoice>> ReadAllInvoiceObjects()
Returns
ReadAllInvoiceObjects(Guid)
Reads all invoice objects.
Task<IEnumerable<Invoice>> ReadAllInvoiceObjects(Guid userIdentifier)
Parameters
userIdentifier
Guid
Returns
ReadInvoiceObject(Guid)
Reads an invoice object.
Task<Invoice> ReadInvoiceObject(Guid identifier)
Parameters
identifier
Guid
Returns
ReadInvoiceObject(Guid, Guid)
Reads an invoice object.
Task<Invoice> ReadInvoiceObject(Guid identifier, Guid userIdentifier)
Parameters
Returns
UpdateInvoiceObject(Guid, Invoice)
Updates an invoice object.
Task<Invoice> UpdateInvoiceObject(Guid invoiceIdentifier, Invoice updatedInvoice)
Parameters
Returns
UpdateInvoiceObject(Invoice, Invoice)
Updates an invoice object.
Task<Invoice> UpdateInvoiceObject(Invoice currentInvoice, Invoice updatedInvoice)