RedirectConfiguration

data class RedirectConfiguration(val returnUrl: String, val enableHeadlessMode: Boolean = false) : Parcelable

Redirect configuration.

Parameters

returnUrl

Deep link return URL. Required for the flows that include web redirect.

enableHeadlessMode

Enables headless mode. The redirect (web or deep link) will be handled directly when it's the first step in the flow, without starting the bottom sheet. It will also capture the payment in the background when it's required by the flow. Note: use only with flows that do not require user input or instructions in the native UI.

Constructors

Link copied to clipboard
constructor(returnUrl: String, enableHeadlessMode: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)