Class FuelType

com.yandex.mapkit.search

java.lang.Object ⇽ FuelType

public class FuelType

Fuel name and price.

Constructors

FuelType()

Use constructor with parameters in your code.

FuelType(@Nullable String name, @Nullable Money price)

Methods

synchronized String getName()

Fuel name.

String getNativeName()
synchronized Money getPrice()

Fuel price.

void serialize(Archive archive)

Constructor Detail

FuelType

public FuelType ()

Use constructor with parameters in your code.

This one is for serialization only!

FuelType

public FuelType (@Nullable String name, @Nullable Money price)

Method Detail

getName

public synchronized String getName ()

Fuel name.

Optional field, can be null.

getNativeName

public static String getNativeName ()

getPrice

public synchronized Money getPrice ()

Fuel price.

Optional field, can be null.

serialize

public void serialize (Archive archive)