ShippingAddressModel

data class ShippingAddressModel(    @Json(name = "line_1") val line1: String?,     @Json(name = "line_2") val line2: String? = null,     @Json(name = "postal_code") val postalCode: String?,     @Json(name = "city") val city: String?,     @Json(name = "state") val state: String?,     @Json(name = "country") val country: String?) : Address

Shipping Address.

Constructors

Link copied to clipboard
fun ShippingAddressModel(    @Json(name = "line_1") line1: String?,     @Json(name = "line_2") line2: String? = null,     @Json(name = "postal_code") postalCode: String?,     @Json(name = "city") city: String?,     @Json(name = "state") state: String?,     @Json(name = "country") country: String?)

Properties

Link copied to clipboard
open override val city: String?

Shipping address city, district, suburb, town, or village

Link copied to clipboard
open override val country: String?

Shipping address country. 3-letter country code (ISO 3166-1 alpha-3)

Link copied to clipboard
open override val line1: String?

Shipping address line 1

Link copied to clipboard
open override val line2: String? = null

Shipping address line 2

Link copied to clipboard
open override val postalCode: String?

Shipping address ZIP or postal code

Link copied to clipboard
open override val state: String?

Shipping address state, county, province, or region