Важно

This feature is available in the Full MapKit SDK version

Package com.yandex.mapkit.search

Class CurrencyExchangeType

java.lang.Object
    ↳ com.yandex.mapkit.search.CurrencyExchangeType

class CurrencyExchangeType implements Serializable

Single currency exchange prices.

Summary

Constructors

Signature and Description

CurrencyExchangeType()
Use constructor with parameters in your code.

CurrencyExchangeType(@Nullable java.lang.String name,
                     @Nullable Money buy,
                     @Nullable Money sell)

Methods

Type and modifiers

Method and Description

synchronized java.lang.String

getName()
ISO-4217 currency name, for example "USD" or "RUB" or "EUR".

synchronized Money

getBuy()
Buy rate.

synchronized Money

getSell()
Sell rate.

void

serialize(com.yandex.runtime.bindings.Archive archive)

static java.lang.String

getNativeName()

Constuctors

CurrencyExchangeType

CurrencyExchangeType()

Use constructor with parameters in your code.

This one is for serialization only!


CurrencyExchangeType

CurrencyExchangeType(@Nullable java.lang.String name,
                     @Nullable Money buy,
                     @Nullable Money sell)


Methods

getName

@Nullable
java.lang.String getName()

ISO-4217 currency name, for example "USD" or "RUB" or "EUR".

Optional field, can be null.


getBuy

@Nullable
Money getBuy()

Buy rate.

Optional field, can be null.


getSell

@Nullable
Money getSell()

Sell rate.

Optional field, can be null.


serialize

@Override
void serialize(com.yandex.runtime.bindings.Archive archive)


getNativeName

java.lang.String getNativeName()


Предыдущая
Следующая