SuccessConfiguration
data class SuccessConfiguration(val title: String? = null, val message: String? = null, val displayDurationSeconds: Int = 3, val extendedDisplayDurationSeconds: Int = 60, val doneButton: PONativeAlternativePaymentConfiguration.Button? = Button()) : Parcelable
Success screen configuration.
Parameters
title
Custom title.
message
Custom message.
displayDurationSeconds
Duration (in seconds) the success screen remains visible when no additional information is shown. Defaults to 3 seconds.
extendedDisplayDurationSeconds
Duration (in seconds) the success screen remains visible when additional useful information is available to the user. Defaults to 60 seconds.
doneButton
Done button configuration. Pass null to hide.
Constructors
Link copied to clipboard
constructor(title: String? = null, message: String? = null, displayDurationSeconds: Int = 3, extendedDisplayDurationSeconds: Int = 60, doneButton: PONativeAlternativePaymentConfiguration.Button? = Button())