---
metadata:
  - name: generator
    content: Diplodoc Platform v5.39.1
alternate:
  - https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/multiRouter.masstransit.StopModel.md
  - https://yandex.com.tr/dev/jsapi-v2-1/doc/ru/v2-1/ref/reference/multiRouter.masstransit.StopModel.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com.tr/dev/jsapi-v2-1/doc/en/llms.txt

# multiRouter.masstransit.StopModel

{% note info %}

The constructor of the multiRouter.masstransit.StopModel class is hidden, as this class is not intended for autonomous initialization.

{% endnote %}

Extends [IEventEmitter](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEventEmitter.md).

Data model for a stop on a transportation segment of a public transport route.

[Fields](#properties-summary) | [Events](#events-summary) | [Methods](#methods-summary)

Creates the data model for a stop of a transport segment.

## Fields {#properties-summary}

#|
|| **Name** | **Type** | **Description** ||
|| [events](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEventEmitter.md#events) | [IEventManager](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEventManager.md) | Event manager.

Inherited from [IEventEmitter](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEventEmitter.md#events). ||
|| [geometry](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/multiRouter.masstransit.StopModel.md#geometry) | [geometry.base.Point](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/geometry.base.Point.md) | Geometry of the stop. ||
|| [properties](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/multiRouter.masstransit.StopModel.md#properties) | [data.Manager](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/data.Manager.md) | Stop data. The following fields are available: 
- Integer - The ordinal number of the stop in the set of stops 	corresponding to the transit segment.
- id: String - The stop ID.
- name: String - The name of the stop.
- lodIndex: Integer - The ordinal number of the stop point in the full set of 	coordinates of the corresponding route path. ||
|| [segment](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/multiRouter.masstransit.StopModel.md#segment) | [multiRouter.masstransit.TransportSegmentModel](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/multiRouter.masstransit.TransportSegmentModel.md) | Reference to the parent model of the transit segment. ||
|#

## Events {#events-summary}

#|
|| **Name** | **Description** ||
|| [update](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/multiRouter.masstransit.StopModel.md#event-update) | Updating the model with new data. Instance of the [Event](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/Event.md) class. ||
|#

## Methods {#methods-summary}

#|
|| **Name** | **Returns** | **Description** ||
|| [update](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/multiRouter.masstransit.StopModel.md#update)([stopJson](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/multiRouter.masstransit.StopModel.md#update-param-stopJson)) | | Updates the state of the model. ||
|#

## Fields details {#field_detail}

### geometry {#geometry}

```javascript
{geometry.base.Point} geometry
```

Geometry of the stop.

### properties {#properties}

```javascript
{data.Manager} properties
```

Stop data. The following fields are available: 
- Integer - The ordinal number of the stop in the set of stops 	corresponding to the transit segment.
- id: String - The stop ID.
- name: String - The name of the stop.
- lodIndex: Integer - The ordinal number of the stop point in the full set of 	coordinates of the corresponding route path.

### segment {#segment}

```javascript
{multiRouter.masstransit.TransportSegmentModel} segment
```

Reference to the parent model of the transit segment.

## Events details {#event_detail}

### update {#update}

Updating the model with new data. Instance of the [Event](https://yandex.com.tr/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/Event.md) class.

## Methods details {#method_detail}

### update {#update}

```javascript
{} update(stopJson)
```

Updates the state of the model.

**Parameters:**

#|
|| **Parameter** | **Default value** | **Description**  ||
|| [`stopJson`](#update-param-stopJson)[*](*star) | — | Type: Object

JSON data. ||
|#

\* Mandatory parameter/option.

[*star]: Mandatory parameter/option.