RedirectConfiguration

data class RedirectConfiguration(val returnUrl: String, val enableHeadlessMode: Boolean = false, val redirectButton: PONativeAlternativePaymentConfiguration.Button? = null) : 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: The bottom sheet will still start automatically when the payment method requires user input in the native UI.

redirectButton

Redirect button configuration. Pass null to hide and redirect automatically, this is a default behaviour.

Constructors

Link copied to clipboard
constructor(returnUrl: String, enableHeadlessMode: Boolean = false, redirectButton: PONativeAlternativePaymentConfiguration.Button? = null)

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)