Cancel

data class Cancel(val text: String? = null, val disabledForSeconds: Int = 0, val confirmation: POActionConfirmationConfiguration? = null) : PONativeAlternativePaymentConfiguration.SecondaryAction

Action for cancellation.

Parameters

text

Action text. Pass null to use default text.

disabledForSeconds

Initially disables action for the given amount of time in seconds. By default user can interact with action immediately when it's visible.

confirmation

Specifies action confirmation configuration (e.g. dialog). Use null to disable, this is a default behaviour.

Constructors

Link copied to clipboard
constructor(text: String? = null, disabledForSeconds: Int = 0, confirmation: POActionConfirmationConfiguration? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val text: String? = null

Functions

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