ActionComponent

A component that handles an "action" to be taken from the result of the /payments API call.

If an ActionComponentData is emitted from this component, it should be sent back through the /payments/details API call.

Properties

Link copied to clipboard

The delegate from this component.

Functions

Link copied to clipboard
abstract fun canHandleAction(action: Action): Boolean

Checks if this component can handle the specific action type.

Link copied to clipboard
abstract fun handleAction(action: Action, activity: Activity)

Provide the action from the API response that needs to be handled.