CardNextActionModel
Model containing necessary information for handling card payment next actions, particularly for 3DS authentication flows.
Parameters
Manager for handling payment operations
Client secret for the payment intent
Device information for fingerprinting
ID of the payment intent being processed
Currency code for the transaction
Transaction amount
Lambda function that provides the current activity reference. This is crucial for handling configuration changes (e.g., screen rotation). Instead of capturing a static activity reference that becomes stale after configuration changes, this provider is called dynamically to always get the current, valid activity instance. This ensures that activities launched during async operations (like ThreeDSecurityActivity) use the correct activity context even after multiple screen rotations.