Location

data class Location(val latitude: Double, val longitude: Double, val localizedName: String, val marketID: String, val marketName: String, val countryCode: String) : Parcelable

Represents a geographic location with associated market details in the prepurchase flow.

Parameters

latitude

The latitude of the geographic location.

longitude

The longitude of the geographic location.

localizedName

The localized name of the location.

marketID

The unique identifier for the market associated with the location.

marketName

The name of the market associated with the location.

countryCode

The country code for the location (e.g., "US").

Constructors

Link copied to clipboard
constructor(latitude: Double, longitude: Double, localizedName: String, marketID: String, marketName: String, countryCode: String)

Properties

Link copied to clipboard
@SerializedName(value = "countryCode")
val countryCode: String
Link copied to clipboard
@SerializedName(value = "latitude")
val latitude: Double
Link copied to clipboard
@SerializedName(value = "localizedLocationName")
val localizedName: String
Link copied to clipboard
@SerializedName(value = "longitude")
val longitude: Double
Link copied to clipboard
@SerializedName(value = "marketID")
val marketID: String
Link copied to clipboard
@SerializedName(value = "marketName")
val marketName: String

Functions

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