setCollectionReason

Specify the reason for the setup intent.

The default is CollectionReason.SAVE_CARD.

Parameters

collectionReason

the reason for collecting the payment method