public static final class GasStationManager.GasStationInformationOptions extends Object
Constructor and Description |
---|
GasStationInformationOptions(GasStation gasStation)
Initializes a new instance of the
GasStationManager.GasStationInformationOptions class. |
GasStationInformationOptions(GasStation gasStation,
int outputFields,
int productTypes)
Initializes a new instance of the
GasStationManager.GasStationInformationOptions class. |
Modifier and Type | Method and Description |
---|---|
GasStationManager.GasStationInformationOptions |
setGasStation(GasStation gasStation)
Sets the gas station about which to receive information.
|
GasStationManager.GasStationInformationOptions |
setOutputFields(int value)
Sets the output fields to return.
|
GasStationManager.GasStationInformationOptions |
setProductTypes(int value)
Sets the product types to be returned.
|
String |
toString() |
public GasStationInformationOptions(GasStation gasStation)
GasStationManager.GasStationInformationOptions
class.gasStation
- The gas station to receive information about.GasStationManager.GasStationManagerException
- thrown when specified gas station is null.public GasStationInformationOptions(GasStation gasStation, int outputFields, int productTypes)
GasStationManager.GasStationInformationOptions
class.gasStation
- The gas station to receive information about.outputFields
- The fields to return. Can be multiple.productTypes
- The product types to return. Can be multiple.GasStationManager.GasStationManagerException
- thrown when specified gas station is null.public GasStationManager.GasStationInformationOptions setOutputFields(int value)
value
- The output fields. Can be multiple fields.public GasStationManager.GasStationInformationOptions setProductTypes(int value)
value
- The product types. Can be multiple product types.public GasStationManager.GasStationInformationOptions setGasStation(GasStation gasStation)
gasStation
- The gas station.GasStationManager.GasStationInformationOptions
class.GasStationManager.GasStationManagerException
- when gasStation is null, or its ID is
null or empty.Copyright © 2013-2018 INRIX, Inc. All Rights Reserved.