Package-level declarations
Types
Link copied to clipboard
Records that the gateway approved the payment, under its transactionId. The gateway saga sends it, and only it: the command is internal, so the public port serves no route of it, and a client cannot confirm a payment the gateway never charged.
Link copied to clipboard
Records that the gateway declined the payment, for reason. The gateway saga sends it, and only it: internal too.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Where a payment is: requested, then succeeded or failed; a succeeded one may be refunded.
Link copied to clipboard
Link copied to clipboard
Refunds a confirmed payment, for reason. The order-payment saga sends it when the ordering context refuses the payment: the order was cancelled meanwhile, when its grace period passed, say.
Link copied to clipboard