Package-level declarations

Types

Link copied to clipboard

Resolves app flags for marketplace to provide consistent experience.

Link copied to clipboard
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.

Link copied to clipboard
class TMPurchaseFragmentFactory(tmPurchaseNavigationListener: TMPurchaseNavigationListener, tmPurchaseShareListener: TMPurchaseSharingListener? = null, tmPurchaseUserAnalyticsListener: TMPurchaseUserAnalyticsListener? = null, tmPurchaseWebAnalyticsListener: TMPurchaseWebAnalyticsListener? = null, tmPurchaseFavoritesListener: TMPurchaseFavoritesListener? = null, tmExternalTokenProvider: ExternalTokenProvider? = null, tmPurchaseDeeplinkDelegate: TMPurchaseDeeplinkDelegate? = null) : FragmentFactory

Factory for creating purchase fragments with configured listeners.

Link copied to clipboard
data class TMPurchaseWebsiteConfiguration(val eventId: String, val hostType: TMMarketDomain, val showNFLBranding: Boolean = false, val showResaleSoftLanding: Boolean = false, val showResaleMessageBanner: Boolean = false, val showInfoToolbarButton: Boolean = false, val showCalendarToolbarButton: Boolean = false, val showShareToolbarButton: Boolean = false, val additionalURLParameters: Map<String, String>, val internalTestingKeys: Map<String, String>, val eventUrl: String? = null, val eventName: String? = null, val eventDateTime: String? = null, val attractionId: String? = null, val brandName: String? = null, val discreteId: String? = null, val originId: String? = null, val originIdParamName: String? = null, val subChannelId: String? = null, val cameFromCode: String? = null) : Parcelable

Configuration for the purchase website in the Ticketmaster SDK.

Functions

Link copied to clipboard
fun mapFromPurchaseProduct(product: Product): Product

Maps a purchase Product to a discovery product.

Link copied to clipboard
fun Cart.toDiscoveryCart(): Cart

Converts a purchase Cart to a discovery cart.

Link copied to clipboard
fun List<Product>.toDiscoveryProductList(): List<Product>

Converts a list of purchase Product to a list of discovery products.

Link copied to clipboard
fun Transaction.toDiscoveryTransaction(): Transaction

Converts a purchase Transaction to a discovery transaction.

Link copied to clipboard

Converts a Date to a GMT-formatted string.