Options
data class Options(val title: String? = null, val primaryActionText: String? = null, val secondaryAction: PONativeAlternativePaymentConfiguration.SecondaryAction? = null, val cancellation: PONativeAlternativePaymentConfiguration.CancellationConfiguration = CancellationConfiguration(), val paymentConfirmation: PONativeAlternativePaymentConfiguration.PaymentConfirmationConfiguration = PaymentConfirmationConfiguration(), val barcode: POBarcodeConfiguration = POBarcodeConfiguration(saveButton = POBarcodeConfiguration.Button()), val inlineSingleSelectValuesLimit: Int = 5, val skipSuccessScreen: Boolean = false, val successMessage: String? = null) : Parcelable
Deprecated
Use 'PONativeAlternativePaymentConfiguration' instead.
Custom options.
Parameters
title
Custom title.
primaryActionText  
Custom primary action text (e.g. "Pay").
secondaryAction 
Secondary action (e.g. "Cancel"). Pass 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.
Constructors
Link copied to clipboard
                  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)