GatewayOutcome

sealed interface GatewayOutcome

What the gateway answers a charge.

Inheritors

Types

Link copied to clipboard
data class Approved(val transactionId: String) : GatewayOutcome

The gateway charged the amount, under its transactionId.

Link copied to clipboard
data class Declined(val reason: String) : GatewayOutcome

The gateway refused the charge, for reason.