Cancel
data class Cancel(val text: String? = null, val disabledForSeconds: Int = 0, val confirmation: POActionConfirmationConfiguration? = null) : PONativeAlternativePaymentConfiguration.SecondaryAction
Deprecated
Use 'CancelButton' instead.
Action for cancellation.
Parameters
text
Action text. Pass null to use default text.
disabledForSeconds
Initially disables the action for the given amount of time in seconds. By default user can interact with the 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)