setCollectionReason
fun setCollectionReason(collectionReason: CollectSetupIntentConfiguration.CollectionReason): CollectSetupIntentConfiguration.Builder
Specify the reason for the setup intent.
The default is CollectionReason.SAVE_CARD.
Parameters
collectionReason
the reason for collecting the payment method