Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
object DropIn

Drop-in is our pre-built checkout UI for accepting payments. You only need to integrate through your backend with the /sessions API endpoint and provide some configuration data. Drop-in will handle the rest of the checkout flow.

Link copied to clipboard
fun interface DropInCallback

A class that defines the callbacks from Drop-in to the Activity or Fragment that launched it.

Link copied to clipboard

This is the base configuration for the Drop-In solution. You need to use the Builder to instantiate this class. There you will find specific methods to add configurations for each specific component, to be able to customize their behavior. If you don't specify anything, a default configuration will be used.

Link copied to clipboard
sealed class DropInResult

A class that contains the final result of Drop-in.

Link copied to clipboard

Extend this service to interact with Drop-in and make the required network calls to the Adyen Checkout APIs through your backend.

Link copied to clipboard
Link copied to clipboard

The result of a network call to be sent to DropInService or SessionDropInService.

Link copied to clipboard
data class ErrorDialog(val title: String? = null, val message: String? = null)

Represents the data shown in the dialog when an error occurs.

Link copied to clipboard
data class FinishedDialog(val title: String, val message: String)

Represents the data shown in the dialog when the payment flow is finished.

Link copied to clipboard
fun interface SessionDropInCallback

A class that defines the callbacks from Drop-in to the Activity or Fragment that launched it.

Link copied to clipboard
sealed class SessionDropInResult

A class that contains the final result of Drop-in.

Link copied to clipboard

Extend this service if you want to take over the sessions flow in Drop-in and make the required network calls to the Adyen Checkout APIs through your backend. Note that once you take over the sessions flow you have to handle the rest of the network calls yourself.

Link copied to clipboard

Functions

Link copied to clipboard