Address

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

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
constructor(city: String? = null, country: String? = null, line1: String? = null, line2: String? = null, postalCode: String? = null, state: String? = null)

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