Address.Builder


class Address.Builder


Builder class for Address.

Summary

Public constructors

Public functions

Address!
Address.Builder!

Sets the city in the address.

Address.Builder!

Sets the country in the address.

Address.Builder!

Sets the display address.

Address.Builder!

Sets the neighborhood in the address.

Address.Builder!

Sets the state in the address.

Address.Builder!

Sets the street address.

Address.Builder!

Sets the zip code in the address.

Public constructors

Builder

Builder()

Public functions

build

fun build(): Address!

setCity

@CanIgnoreReturnValue
fun setCity(city: String): Address.Builder!

Sets the city in the address.

Required.

setCountry

@CanIgnoreReturnValue
fun setCountry(country: String): Address.Builder!

Sets the country in the address.

Required.

setDisplayAddress

@CanIgnoreReturnValue
fun setDisplayAddress(displayAddress: String): Address.Builder!

Sets the display address.

Required.

setNeighborhood

@CanIgnoreReturnValue
fun setNeighborhood(neighborhood: String!): Address.Builder!

Sets the neighborhood in the address.

Optional.

setState

@CanIgnoreReturnValue
fun setState(state: String!): Address.Builder!

Sets the state in the address.

Optional.

setStreetAddress

@CanIgnoreReturnValue
fun setStreetAddress(streetAddress: String!): Address.Builder!

Sets the street address.

Optional.

setZipCode

@CanIgnoreReturnValue
fun setZipCode(zipCode: String!): Address.Builder!

Sets the zip code in the address.

Optional.