addressComponent

inline fun addressComponent(name: String, types: List<String>, noinline actions: AddressComponent.Builder.() -> Unit? = null): AddressComponent

Builds a new AddressComponent.

Return

the constructed AddressComponent

Parameters

name

the name of this address component

types

the types of this address component

actions

the actions to apply to the AddressComponent.Builder

See also

Throws