Package com.smartcar.sdk
Class SmartcarVehicleOptions.Builder
- java.lang.Object
-
- com.smartcar.sdk.SmartcarVehicleOptions.Builder
-
- Enclosing class:
- SmartcarVehicleOptions
public static class SmartcarVehicleOptions.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SmartcarVehicleOptions.Builder
addFlag(java.lang.String key, boolean value)
SmartcarVehicleOptions.Builder
addFlag(java.lang.String key, java.lang.String value)
SmartcarVehicleOptions
build()
SmartcarVehicleOptions.Builder
origin(java.lang.String origin)
SmartcarVehicleOptions.Builder
unitSystem(Vehicle.UnitSystem unitSystem)
SmartcarVehicleOptions.Builder
version(java.lang.String version)
-
-
-
Method Detail
-
version
public SmartcarVehicleOptions.Builder version(java.lang.String version)
-
unitSystem
public SmartcarVehicleOptions.Builder unitSystem(Vehicle.UnitSystem unitSystem)
-
addFlag
public SmartcarVehicleOptions.Builder addFlag(java.lang.String key, java.lang.String value)
-
addFlag
public SmartcarVehicleOptions.Builder addFlag(java.lang.String key, boolean value)
-
origin
public SmartcarVehicleOptions.Builder origin(java.lang.String origin)
-
build
public SmartcarVehicleOptions build()
-
-