Location

@JsonClass(generateAdapter = true)
data class Location @JvmOverloads constructor(id: String?, address: Address?, displayName: String?, livemode: Boolean?, metadata: Map<String, String>?) : Parcelable

The Location class contains details about the location object to which readers can be registered.

Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal

Constructors

Link copied to clipboard
fun Location(id: String? = null, address: Address? = null, displayName: String? = null, livemode: Boolean? = null, metadata: Map<String, String>? = null)

Functions

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

Properties

Link copied to clipboard
var address: Address? = null

The Address of this Location

Link copied to clipboard
var displayName: String? = null

The display name of this Location

Link copied to clipboard
var id: String? = null

The ID of the Location

Link copied to clipboard
var livemode: Boolean? = null

Whether this Location was created in livemode

Link copied to clipboard
var metadata: Map<String, String>? = null

Any metadata attached to this Location