PaymentConfirmationConfiguration

data class PaymentConfirmationConfiguration(@IntRange(from = 0, to = 900) val timeoutSeconds: Int = DEFAULT_TIMEOUT_SECONDS, val confirmButton: PONativeAlternativePaymentConfiguration.Button? = null, val cancelButton: PONativeAlternativePaymentConfiguration.CancelButton? = null) : Parcelable

Payment confirmation configuration.

Parameters

timeoutSeconds

Amount of time (in seconds) to wait for final payment confirmation. Default value is 3 minutes, while maximum value is 15 minutes.

confirmButton

Confirm button configuration. Pass null to hide.

cancelButton

Cancel button configuration. Pass null to hide.

Constructors

Link copied to clipboard
constructor(waitsConfirmation: Boolean = true, @IntRange(from = 0, to = 900) timeoutSeconds: Int = DEFAULT_TIMEOUT_SECONDS, showProgressIndicatorAfterSeconds: Int? = null, hideGatewayDetails: Boolean = false, confirmButton: PONativeAlternativePaymentConfiguration.Button? = null, cancelButton: PONativeAlternativePaymentConfiguration.CancelButton? = null)

Payment confirmation configuration.

constructor(waitsConfirmation: Boolean = true, @IntRange(from = 0, to = 900) timeoutSeconds: Int = DEFAULT_TIMEOUT_SECONDS, showProgressIndicatorAfterSeconds: Int? = null, hideGatewayDetails: Boolean = false, primaryAction: PONativeAlternativePaymentConfiguration.ConfirmAction? = null, secondaryAction: PONativeAlternativePaymentConfiguration.SecondaryAction? = null)

Payment confirmation configuration.

constructor(@IntRange(from = 0, to = 900) timeoutSeconds: Int = DEFAULT_TIMEOUT_SECONDS, confirmButton: PONativeAlternativePaymentConfiguration.Button? = null, cancelButton: PONativeAlternativePaymentConfiguration.CancelButton? = null)

Types

Link copied to clipboard
object Companion

Properties

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)