corda / net.corda.finance.utils / WorldMapLocation

WorldMapLocation

data class WorldMapLocation

A labelled WorldCoordinate, where the label is human meaningful. For example, the name of the nearest city. Labels should not refer to non-landmarks, for example, they should not contain the names of organisations. The countryCode field is a two letter ISO country code.

Constructors

<init>

WorldMapLocation(coordinate: WorldCoordinate, description: String, countryCode: String)

A labelled WorldCoordinate, where the label is human meaningful. For example, the name of the nearest city. Labels should not refer to non-landmarks, for example, they should not contain the names of organisations. The countryCode field is a two letter ISO country code.

Properties

coordinate

val coordinate: WorldCoordinate

countryCode

val countryCode: String

description

val description: String

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.