Table of Contents

Interface IInvoiceOrchestrationService

Namespace
arolariu.Backend.Domain.Invoices.Services.Orchestration.InvoiceService
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 Invoice
options AnalysisOptions

Returns

Task

CreateInvoiceObject(Invoice)

Creates an invoice object.

Task<Invoice> CreateInvoiceObject(Invoice invoice)

Parameters

invoice Invoice

Returns

Task<Invoice>

DeleteInvoiceObject(Guid)

Deletes an invoice object.

Task DeleteInvoiceObject(Guid identifier)

Parameters

identifier Guid

Returns

Task

DeleteInvoiceObject(Guid, Guid)

Deletes an invoice object.

Task DeleteInvoiceObject(Guid identifier, Guid userIdentifier)

Parameters

identifier Guid
userIdentifier Guid

Returns

Task

ReadAllInvoiceObjects()

Reads all invoice objects.

Task<IEnumerable<Invoice>> ReadAllInvoiceObjects()

Returns

Task<IEnumerable<Invoice>>

ReadAllInvoiceObjects(Guid)

Reads all invoice objects.

Task<IEnumerable<Invoice>> ReadAllInvoiceObjects(Guid userIdentifier)

Parameters

userIdentifier Guid

Returns

Task<IEnumerable<Invoice>>

ReadInvoiceObject(Guid)

Reads an invoice object.

Task<Invoice> ReadInvoiceObject(Guid identifier)

Parameters

identifier Guid

Returns

Task<Invoice>

ReadInvoiceObject(Guid, Guid)

Reads an invoice object.

Task<Invoice> ReadInvoiceObject(Guid identifier, Guid userIdentifier)

Parameters

identifier Guid
userIdentifier Guid

Returns

Task<Invoice>

UpdateInvoiceObject(Guid, Invoice)

Updates an invoice object.

Task<Invoice> UpdateInvoiceObject(Guid invoiceIdentifier, Invoice updatedInvoice)

Parameters

invoiceIdentifier Guid
updatedInvoice Invoice

Returns

Task<Invoice>

UpdateInvoiceObject(Invoice, Invoice)

Updates an invoice object.

Task<Invoice> UpdateInvoiceObject(Invoice currentInvoice, Invoice updatedInvoice)

Parameters

currentInvoice Invoice
updatedInvoice Invoice

Returns

Task<Invoice>