PaymentConfirmationConfiguration
data class PaymentConfirmationConfiguration(val waitsConfirmation: Boolean = true, val timeoutSeconds: Int = DEFAULT_TIMEOUT_SECONDS, val showProgressIndicatorAfterSeconds: Int? = null, val hideGatewayDetails: Boolean = false, val confirmButton: PONativeAlternativePaymentConfiguration.Button? = null, val cancelButton: PONativeAlternativePaymentConfiguration.CancelButton? = null) : Parcelable
Specifies payment confirmation behaviour.
Parameters
waitsConfirmation
Specifies whether flow should wait for payment confirmation from PSP or will complete right after all user input is submitted. Default value is true.
timeoutSeconds
Amount of time (in seconds) to wait for final payment confirmation. Default value is 3 minutes, while maximum value is 15 minutes.
showProgressIndicatorAfterSeconds
Show progress indicator during payment confirmation after provided delay (in seconds). Use null to hide, this is a default behaviour.
hideGatewayDetails
Specifies whether gateway information (such as name/logo) should be hidden during payment confirmation even when specific payment provider details are not available. Default value is false.
confirmButton
Confirm button configuration.
cancelButton
Cancel button configuration.
Constructors
Link copied to clipboard
constructor(waitsConfirmation: Boolean = true, timeoutSeconds: Int = DEFAULT_TIMEOUT_SECONDS, showProgressIndicatorAfterSeconds: Int? = null, hideGatewayDetails: Boolean = false, primaryAction: PONativeAlternativePaymentConfiguration.ConfirmAction? = null, secondaryAction: PONativeAlternativePaymentConfiguration.SecondaryAction? = null)
Specifies payment confirmation behaviour.
constructor(waitsConfirmation: Boolean = true, timeoutSeconds: Int = DEFAULT_TIMEOUT_SECONDS, showProgressIndicatorAfterSeconds: Int? = null, hideGatewayDetails: Boolean = false, confirmButton: PONativeAlternativePaymentConfiguration.Button? = null, cancelButton: PONativeAlternativePaymentConfiguration.CancelButton? = null)