cadrumo.application.invoices.catalogue_reads_ports module¶
Application-owned read capabilities for invoice and transaction catalogues.
Core types:
InvoiceCatalogue,
TransactionCatalogue.
- exception InvoiceCatalogueReadPersistenceError(operation)[source]¶
Bases:
CadrumoErrorTranslated failure while loading a catalogue for link verification.
- Parameters:
operation (str)
- Return type:
None
- code¶
- class InvoiceCatalogueReader(*args, **kwargs)[source]¶
Bases:
ProtocolRead capability for the application-facing invoice catalogue projection.
- class TransactionCatalogueReader(*args, **kwargs)[source]¶
Bases:
ProtocolRead capability for the application-facing transaction projection.
- class BucketBoundCatalogueReader(*args, **kwargs)[source]¶
Bases:
ProtocolA catalogue reader backed by one profile bucket’s store.
- class InvoiceCatalogueReadPorts(invoice_reader, transaction_reader)[source]¶
Bases:
objectRequired catalogue capabilities for one composed ledger read path.
- Parameters:
invoice_reader (InvoiceCatalogueReader)
transaction_reader (TransactionCatalogueReader)
-
invoice_reader:
InvoiceCatalogueReader¶
-
transaction_reader:
TransactionCatalogueReader¶