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).
Domain Model
Section titled “Domain Model”classDiagram
class GatewayResult {
<<value object>>
+String rawReference
+Decimal rawAmount
}
Domain Types
Section titled “Domain Types”GatewayResult — value object
Section titled “GatewayResult — value object”The raw result the third-party gateway returns. Payment shields itself from this shape with its anti-corruption layer.
| Field | Type | Description |
|---|---|---|
| rawReference | String | |
| rawAmount | Decimal |
Coverage
Section titled “Coverage”| Kind | Covered | Total |
|---|---|---|
| value | 1 | 1 |
All declared constructs are documented. ✅