Address

@JsonClass(generateAdapter = true)
data class Address @JvmOverloads constructor(city: String?, country: String?, line1: String?, line2: String?, postalCode: String?, state: String?) : Parcelable

The Address class stores address data for use with the Location class

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

Constructors

Link copied to clipboard
fun Address(city: String? = null, country: String? = null, line1: String? = null, line2: String? = null, postalCode: String? = null, state: 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
val city: String? = null

The city name

Link copied to clipboard
val country: String? = null

The country code

Link copied to clipboard
val line1: String? = null

The first line of the address

Link copied to clipboard
val line2: String? = null

The second line of the address

Link copied to clipboard
val postalCode: String? = null

The postal code of the address

Link copied to clipboard
val state: String? = null

The state of the address