-
Notifications
You must be signed in to change notification settings - Fork 13
Venue
Brandon Cooke edited this page Aug 6, 2019
·
1 revision
A Venue is the location of a tournament, and encapsulates data about that location.
let venue = new Venue('Buckhead Theater', '3110 Roswell Rd NE, Atlanta, GA 30305', 'Atlanta', 'GA', '1', 'United States', '30305', 33.8403, 84.3796);
console.log(venue.getName()); // prints "Buckhead Theater"
console.log(venue.getCity()); // prints "Atlanta"
Venue(
name: string | null,
address: string | null,
city: string | null,
state: string | null,
postalCode: string | null,
countryCode: string | null,
region: string | null,
latitude: number | null,
longitude: number | null
);
-
venueName
- string | null
-
venueAddress
- string | null
-
city
- string | null
-
addrState
- string | null
-
countryCode
- string | null
-
region
- string | null
-
postalCode
- string | null
-
lat
- number | null
-
lng
- number | null
-
getName()
- get the name string of the venue
- string | null
-
getAddress()
- get the address of the venue
- string | null
-
getCity()
- get the city string of the venue
- string | null
-
getState()
- get the state string of the venue
- string | null
-
getPostalCode()
- get the postal code string of the venue
- string | null
-
getCountryCode()
- get the country code string of the venue
- string | null
-
getRegion()
- get the country region of the venue
- string | null
-
getLatitude()
- get the numeric latitude of the venue
- number | null
-
getLongitude()
- get the numeric longitude of the venue
- number | null