Address

data class Address(line1: String, line2: String?, city: String, state: String, postalCode: String) : Parcelable

A representation of an address.

Constructors

Address
Link copied to clipboard
fun Address(line1: String, line2: String?, city: String, state: String, postalCode: String)

Functions

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

Properties

city
Link copied to clipboard
val city: String
The city of the address.
line1
Link copied to clipboard
val line1: String
The street address.
line2
Link copied to clipboard
val line2: String?
An optional second line for the address.
postalCode
Link copied to clipboard
val postalCode: String
The postal code (zip code) of the address.
state
Link copied to clipboard
val state: String
The state of the address.