Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UnitNameGroup

Represents a group of unit names, which are the types of units (e.g. apartment or floor) that could be included in an address for a specific country.

Hierarchy

  • UnitNameGroup

Indexable

[unitType: number]: string

Represents a group of unit names, which are the types of units (e.g. apartment or floor) that could be included in an address for a specific country.

Index

Constructors

constructor

  • new UnitNameGroup(name: string, countries: Country[], cultures: string[], unitTypes: object): UnitNameGroup
  • Initializes a UnitNameGroup object.

    Parameters

    • name: string
    • countries: Country[]
    • cultures: string[]
    • unitTypes: object
      • [key: string]: string

    Returns UnitNameGroup

Properties

countries

countries: Country[]

An array of the countries that the UnitNameGroup applies to.

cultures

cultures: string[]

An array of the cultures that the UnitNameGroup applies to.

name

name: string

The name of the UnitNameGroup.

Static ASSEMBLY_NAME

ASSEMBLY_NAME: string = core.GEOBASE_ASSEMBLY_NAME

Static CLASS_NAME

CLASS_NAME: string = "Telogis.GeoBase.Addresses.UnitNameGroup"

Methods

localizeAddressUnit

  • Returns the localized name of the address unit type.

    Parameters

    Returns string

Generated using TypeDoc