PaymentOptionsButton

public struct PaymentOptionsButton<Content> : View where Content : View

A button which presents a sheet for a customer to select a payment method. This is a convenience wrapper for the .paymentOptionsSheet() ViewModifier.

Parameters

paymentSheetFlowController

A PaymentSheet.FlowController to present.

onSheetDismissed

Called after the payment method selector is dismissed.

content

The content of the view.