SuccessConfiguration

constructor(title: String? = null, message: String? = null, displayDurationSeconds: Int = 3, extendedDisplayDurationSeconds: Int = 60, doneButton: PONativeAlternativePaymentConfiguration.Button? = Button())

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.