Skip to content

credit

Enterprise Part of the commercial Kumiko Enterprise offering — not in the open framework.

Event-sourced amortization credits: stores the inputs (sum, interest, repayment/rate, start) as typed decimal columns plus an additionals value-object array, and derives the full monthly schedule (lines + totals) on read via the pure calculateCredit engine. Persist inputs, never the computed schedule.

This Enterprise implementation is optional. If you need a narrower or domain-specific version, you can build an app-owned feature, handler, or job with Kumiko’s public extension points.

Use this package when you want the maintained implementation, its existing contracts, and the surrounding operational behavior. A custom implementation is not drop-in compatible automatically: your app owns its authorization, validation, integrations, tests, security review, and production operations.

Start with Features and composition and Custom write handlers.

What this feature needs to run (Requires, top) and the write commands this feature provides (Provides, bottom).

flowchart TB
  n_credit["credit"]
  subgraph how_reqs["Requires"]
    n_tenant["tenant"]
  end
  subgraph how_provides["Provides"]
    n_cmd_credit_write_bauspar_create(["create"])
    n_cmd_credit_write_bauspar_delete(["delete"])
    n_cmd_credit_write_bauspar_update(["update"])
    n_cmd_credit_write_copy(["copy"])
    n_cmd_credit_write_create(["create"])
    n_cmd_credit_write_credit_delete(["delete"])
    n_cmd_more(["+1 more"])
  end
  n_tenant --> n_credit
  n_credit --> n_cmd_credit_write_bauspar_create
  n_credit --> n_cmd_credit_write_bauspar_delete
  n_credit --> n_cmd_credit_write_bauspar_update
  n_credit --> n_cmd_credit_write_copy
  n_credit --> n_cmd_credit_write_create
  n_credit --> n_cmd_credit_write_credit_delete
  n_credit --> n_cmd_more

Provides — write commands this feature registers (dispatch them through the command bus):

  • credit:write:bauspar:create
  • credit:write:bauspar:delete
  • credit:write:bauspar:update
  • credit:write:copy
  • credit:write:create
  • credit:write:credit:delete
  • credit:write:update
  • Requires: tenant
  • Activation: always on (not toggleable)