TMPurchase
class TMPurchase(val apiKey: String, val environment: TMEnvironment = TMEnvironment.Production, val useDebugAnalytics: Boolean = false, val disableUFCLoginManagement: Boolean = false, val dismissUponCompletion: Boolean = true, @ColorInt val brandColor: Int? = null, val purchaseUrlScheme: String?) : Parcelable
Configuration for initializing the purchase SDK.
Parameters
api Key
The API key provided by Ticketmaster.
environment
The TMEnvironment to use, defaults to Production.
use Debug Analytics
Whether to enable debug analytics, defaults to false.
disable UFCLogin Management
Whether to disable UFC login, defaults to false.
dismiss Upon Completion
Whether to close the SDK on completion, defaults to true.
brand Color
The brand color for UI elements, or null if not set.
purchase Url Scheme
The client app's URL scheme, or null if not set.
Constructors
Link copied to clipboard
constructor(apiKey: String, environment: TMEnvironment, @ColorInt brandColor: Int, purchaseUrlScheme: String? = null)
Creates a TMPurchase.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
fun getPurchaseBundle(tmPurchaseWebsiteConfiguration: TMPurchaseWebsiteConfiguration, tmAuthenticationParams: TMAuthenticationParams): Bundle
Creates a bundle with purchase and authentication configurations.
Link copied to clipboard
Creates an Intent with purchase configuration.
Link copied to clipboard