Options
constructor(title: String? = null, primaryActionText: String? = null, secondaryAction: PONativeAlternativePaymentConfiguration.SecondaryAction? = null, cancellation: PONativeAlternativePaymentConfiguration.CancellationConfiguration = CancellationConfiguration(), paymentConfirmation: PONativeAlternativePaymentConfiguration.PaymentConfirmationConfiguration = PaymentConfirmationConfiguration(), barcode: POBarcodeConfiguration = POBarcodeConfiguration(saveButton = POBarcodeConfiguration.Button()), 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
Cancellation behaviour.
paymentConfirmation
Payment confirmation configuration.
barcode
Barcode configuration.
inlineSingleSelectValuesLimit
Defines the maximum number of options that will be displayed inline for parameters where user should select a single option (e.g. radio buttons). Default value is 5.
skipSuccessScreen
Indicates whether the success screen should be skipped.
successMessage
Custom success message when payment is completed.