Warning

This feature is available in the Full MapKit SDK version

YMKSearchCurrencyExchangeType

@interface YMKSearchCurrencyExchangeType : NSObject

Single currency exchange prices.

Summary

Class methods

+ (nonnull YMKSearchCurrencyExchangeType *)currencyExchangeTypeWithName:(nullable NSString *)name
                                                                    buy:(nullable YMKTaxiMoney *)buy
                                                                   sell:(nullable YMKTaxiMoney *)sell;

Properties

@property (nonatomic, readonly, nullable) NSString *name;
ISO-4217 currency name, for example "USD" or "RUB" or "EUR"

@property (nonatomic, readonly, nullable) YMKTaxiMoney *buy;
Buy rate

@property (nonatomic, readonly, nullable) YMKTaxiMoney *sell;
Sell rate

Class methods

currencyExchangeTypeWithName:buy:sell:

+ (nonnull YMKSearchCurrencyExchangeType *)currencyExchangeTypeWithName:(nullable NSString *)name
                                                                    buy:(nullable YMKTaxiMoney *)buy
                                                                   sell:(nullable YMKTaxiMoney *)sell;


Properties

name

@property (nonatomic, readonly, nullable) NSString *name;

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

Optional field, can be nil.


buy

@property (nonatomic, readonly, nullable) YMKTaxiMoney *buy;

Buy rate.

Optional field, can be nil.


sell

@property (nonatomic, readonly, nullable) YMKTaxiMoney *sell;

Sell rate.

Optional field, can be nil.