class

MonobankApi::Currency

Inherits JSON::Serializable < Reference < Object

Represents currency exchange rates.

Retrieved from /bank/currency endpoint. Information is cached and updated no more than once per 5 minutes

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

currency_code_a

Код валюти рахунку відповідно ISO 4217

Source
currency_code_b

Код валюти рахунку відповідно ISO 4217

Source
date

Час курсу в секундах в форматі Unix time

Source
rate_buy

Курс покупки

Source
rate_cross

Кросс-курс

Source
rate_sell

Курс продажу

Source