PaymentPolicy

data class PaymentPolicy(val gracePeriod: Duration)

How long an order whose stock is confirmed waits for its payment before it cancels itself: its gracePeriod. A domain service of the order's command functions, so the server binds it once from its configuration and a test gives it its own.

Constructors

Link copied to clipboard
constructor(gracePeriod: Duration)

Properties

Link copied to clipboard