ShippingAddress

data class ShippingAddress(countryCode: String, state: String, city: String, streetLine1: String, streetLine2: String, postCode: String)

This object represents a shipping address.

Parameters

countryCode

ISO 3166-1 alpha-2 country code

state

State, if applicable

city

City

streetLine1

First line for the address

streetLine2

Second line for the address

postCode

Address post code

Constructors

ShippingAddress
Link copied to clipboard
common
fun ShippingAddress(countryCode: String, state: String, city: String, streetLine1: String, streetLine2: String, postCode: String)
ISO 3166-1 alpha-2 country code

Functions

component1
Link copied to clipboard
common
operator fun component1(): String
component2
Link copied to clipboard
common
operator fun component2(): String
component3
Link copied to clipboard
common
operator fun component3(): String
component4
Link copied to clipboard
common
operator fun component4(): String
component5
Link copied to clipboard
common
operator fun component5(): String
component6
Link copied to clipboard
common
operator fun component6(): String
copy
Link copied to clipboard
common
fun copy(countryCode: String, state: String, city: String, streetLine1: String, streetLine2: String, postCode: String): ShippingAddress
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

city
Link copied to clipboard
common
val city: String
City
countryCode
Link copied to clipboard
common
val countryCode: String
ISO 3166-1 alpha-2 country code
postCode
Link copied to clipboard
common
val postCode: String
Address post code
state
Link copied to clipboard
common
val state: String
State, if applicable
streetLine1
Link copied to clipboard
common
val streetLine1: String
First line for the address
streetLine2
Link copied to clipboard
common
val streetLine2: String
Second line for the address