     ///   - clientSecret:      Client secret of the payment intent
     ///   - params:            Parameters for this call
     ///   - viewController:    Presenting view controller that will present the modal
-    ///   - completion:        completion block to be called on completion of the operation
+    ///   - completion:        Completion block to be called on completion of the operation.
+    ///                        Upon success, the `STPPaymentIntent` instance will have an
+    ///                        expanded `paymentMethod` containing detailed payment method information
     @available(iOS 12, *)
     @objc(collectBankAccountForPaymentWithClientSecret:params:from:completion:)
     public func collectBankAccountForPayment(clientSecret: String,

    case unexpectedError
}

public class STPBankAccountCollector: NSObject {

    /// By default `sharedHandler` initializes with STPAPIClient.shared.

    /// - Parameters:
    ///   - clientSecret:      Client secret of the setup intent
    ///   - params:            Parameters for this call
    ///   - viewController:    Presenting view controller that will present the modal
    ///   - completion:        Completion block to be called on completion of the operation.
    ///                        Upon success, the `STPSetupIntent` instance will have an
    ///                        expanded `paymentMethod` containing detailed payment method information
    @available(iOS 12, *)
    @objc(collectBankAccountForSetupWithClientSecret:params:from:completion:)
    public func collectBankAccountForSetup(clientSecret: String,
