setupSession

fun setupSession(session: AirwallexSession, launchType: String, layout: String? = null, showsGooglePayAsPrimaryButton: Boolean? = null)

Helper function to set up analytics session information from an AirwallexSession.

Parameters

session

The Airwallex session containing transaction details

launchType

The launch type identifier (e.g., "dropin", "component", "embedded_element", "api")

layout

The layout type as string: "tab", "accordion", "none", or null