processSetupIntent

Processes a SetupIntent by collecting a setup intent payment method and confirming the intent. This is a convenience method that combines the two-step process of Terminal.collectSetupIntentPaymentMethod collecting a payment method and Terminal.confirmSetupIntent confirming the setup intent into a single call.

Return

A Cancelable that allows the operation to be canceled when the SDK is not waiting for a network response.

Parameters

intent

The SetupIntent that should be processed

collectConfig

The CollectSetupIntentConfiguration for this collection.

callback

The SetupIntentCallback to be invoked when the command completes