STPBankSelectionViewControllerDelegate
@objc
public protocol STPBankSelectionViewControllerDelegate : NSObjectProtocol
An STPBankSelectionViewControllerDelegate
is notified when a user selects a bank.
-
This is called when the user selects a bank. You can use the returned PaymentMethodParams to confirm a PaymentIntent, or inspect it to obtain details about the selected bank. Once you’re done, you’ll want to dismiss (or pop) the view controller.
Declaration
Swift
@objc(bankSelectionViewController:didCreatePaymentMethodParams:) func bankSelectionViewController( _ bankViewController: STPBankSelectionViewController, didCreatePaymentMethodParams paymentMethodParams: STPPaymentMethodParams )
Parameters
bankViewController
the view controller that created the PaymentMethodParams
paymentMethodParams
the PaymentMethodParams that was created. - seealso: STPPaymentMethodParams