Skip to content

Gateway — version 1

Gateway bounded context — the external card processor whose model we do not control. Payment never references this directly; it goes through the generated anti-corruption translator interface (see the acl block in context-map.koi).

classDiagram
    class GatewayResult {
        <<value object>>
        +String rawReference
        +Decimal rawAmount
    }

The raw result the third-party gateway returns. Payment shields itself from this shape with its anti-corruption layer.

FieldTypeDescription
rawReferenceString
rawAmountDecimal
KindCoveredTotal
value11

All declared constructs are documented.