DiscoveryAttraction

data class DiscoveryAttraction(val discoveryID: String, val hostID: String?, val name: String?, val isActive: Boolean?, val isDiscoverable: Boolean?, val isTestAttraction: Boolean?, val type: String?, val locale: String?, val imageMetadataList: List<DiscoveryImageMetadata>?, val classificationList: List<DiscoveryClassification>?) : Parcelable

Represents an artist or sports team in the purchase flow.

Parameters

discoveryID

The ID of the attraction in the Discovery API.

hostID

The ID of the attraction in the Host system, or null.

name

The name of the attraction, or null if not set.

isActive

Whether the attraction is active, or null if not set.

isDiscoverable

Whether the attraction is discoverable, or null.

isTestAttraction

Whether the attraction is for testing, or null.

type

The type of the attraction, or null if not set.

locale

The locale of the attraction, or null if not set.

imageMetadataList

List of image metadata, or null if not set.

classificationList

List of classifications, or null if not set.

Constructors

Link copied to clipboard
constructor(discoveryID: String, hostID: String?, name: String?, isActive: Boolean?, isDiscoverable: Boolean?, isTestAttraction: Boolean?, type: String?, locale: String?, imageMetadataList: List<DiscoveryImageMetadata>?, classificationList: List<DiscoveryClassification>?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val name: String?
Link copied to clipboard
val type: String?

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)