POSavedPaymentMethodsConfiguration

constructor(invoiceRequest: POInvoiceRequest, title: String? = null, deleteButton: POSavedPaymentMethodsConfiguration.Button = Button(), cancelButton: POSavedPaymentMethodsConfiguration.Button? = Button(), bottomSheet: POBottomSheetConfiguration = POBottomSheetConfiguration( height = WrapContent, expandable = false ), style: POSavedPaymentMethodsConfiguration.Style? = null)

Parameters

invoiceRequest

Invoice request. Note: Make sure that POInvoiceRequest.clientSecret is set to include saved payment methods in the response.

title

Custom title.

deleteButton

Payment method's delete button configuration.

cancelButton

Cancel button configuration. Use null to hide.

bottomSheet

Specifies bottom sheet configuration. By default will wrap content and is non-expandable.

style

Custom screen style.