Constructor
new Agency(name, url, timezone, optionalopt)
- Source:
- See:
Agency Constructor
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
name |
string | Agency Name |
|||||||||||||||||||||||||
url |
string | Agency URL |
|||||||||||||||||||||||||
timezone |
string | Agency Timezone |
|||||||||||||||||||||||||
optional |
Object |
<optional> |
Optional Arguments Properties
|
Members
email :string
- Source:
A single valid email address for contacting the transit agency
Type:
- string
fareUrl :string
- Source:
The URL of a web page that can be used to purchase tickets for the transit agency
Type:
- string
id :string
- Source:
Unique ID that identifies the transit agency
Type:
- string
lang :string
- Source:
The two-letter (ISO 639-1) language code for the primary language used by the transit agency
Type:
- string
name :string
- Source:
Full name of the transit agency
Type:
- string
phone :string
- Source:
A single voice telephone number for the transit agency
Type:
- string
timezone :string
- Source:
- See:
Timezone code where the transit agency is located
Type:
- string
url :string
- Source:
Fully qualified and escaped URL of the transit agency
Type:
- string