OperationResult

sealed interface OperationResult

The result of a Checkout Controller operation such as configure or applyPromotionCode. Use Failed.displayMessage for customer-facing text. Failed.error retains diagnostic details.

Inheritors

Types

Link copied to clipboard

The operation failed with error.

Link copied to clipboard

The operation succeeded. The updated session is available through the CheckoutElementsController.session state flow.