Cancel

data class Cancel(val text: String? = null, val disabledForSeconds: Int = 0, val confirmation: PONativeAlternativePaymentMethodConfiguration.ActionConfirmation = ActionConfirmation()) : PONativeAlternativePaymentMethodConfiguration.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.

Constructors

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

Properties

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)