delegate
The view controller’s delegate.
Declaration
weak var delegate: (any PKPaymentAuthorizationViewControllerDelegate)? { get set }Discussion
The delegate is called at various points in the interaction, such as when the user selects shipping or billing information and when the user authorizes the payment request.