Options
constructor(title: String? = null, primaryActionText: String? = null, secondaryAction: PONativeAlternativePaymentConfiguration.SecondaryAction? = null, cancellation: PONativeAlternativePaymentConfiguration.CancellationConfiguration = CancellationConfiguration(), paymentConfirmation: PONativeAlternativePaymentConfiguration.PaymentConfirmationConfiguration = PaymentConfirmationConfiguration(), barcode: POBarcodeConfiguration = POBarcodeConfiguration(), inlineSingleSelectValuesLimit: Int = 5, skipSuccessScreen: Boolean = false, successMessage: String? = null)
Parameters
title
Custom title.
primaryActionText
Custom primary action text (e.g. "Pay").
secondaryAction
Secondary action (e.g. "Cancel"). Use null to hide, this is a default behaviour.
cancellation
Specifies cancellation behaviour.
paymentConfirmation
Specifies payment confirmation behaviour.
barcode
Specifies barcode configuration.
inlineSingleSelectValuesLimit
Defines maximum number of options that will be displayed inline for parameters where user should select single option (e.g. radio buttons). Default value is 5.
skipSuccessScreen
Only applies when PaymentConfirmationConfiguration.waitsConfirmation is true.
successMessage
Custom success message when payment is completed.