EVGLocation Class Reference
EVGLocation class to associate location information with an Item. It serves use cases such as filtering products based on availability in specific areas.
EVGLocation class is intended solely for use with items and is not applicable to other entities or functionalities.
Latitudinal coordinate of the location, should be from -90 to 90.
Longitudinal coordinate of the location, should be from -180 to 180.
Name of the city.
Name of the state or province.
Postal code of the location.
Creates a location with geographic coordinates.
|Latitudinal coordinate, should be from -90 to 90
|Longitudinal coordinate, should be from -180 to 180
Creates a location with city and state.
|State or Province Code (e.g.
Creates a location with postal code.
Creates a location from the provided JSON.
|A location in JSON form
A location which can be further modified, or nil if JSON is invalid