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

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

Functions

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

Properties

address
Link copied to clipboard
var address: Address? = null
The Address of this Location
displayName
Link copied to clipboard
var displayName: String? = null
The display name of this Location
id
Link copied to clipboard
var id: String? = null
The ID of the Location
livemode
Link copied to clipboard
var livemode: Boolean? = null
Whether this Location was created in livemode
metadata
Link copied to clipboard
var metadata: Map<String, String>? = null
Any metadata attached to this Location