object model
- Alphabetic
- By Inheritance
- model
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed trait AccountType extends AnyRef
There are three types of accounts supported by OER API.
There are three types of accounts supported by OER API. For scala-forex library, the main difference between Unlimited/Enterprise and Developer users is that users with Unlimited/Enterprise accounts can use the base currency for API requests, but this library will provide automatic conversions between OER default base currencies(USD) and user-defined base currencies. However this will increase calls to the API and will slow down the performance.
- sealed trait EodRounding extends AnyRef
User defined type for getNearestDay flag
- case class ForexConfig(appId: String, accountLevel: AccountType, nowishCacheSize: Int = 13530, nowishSecs: Int = 300, eodCacheSize: Int = 405900, getNearestDay: EodRounding = EodRoundDown, baseCurrency: CurrencyUnit = CurrencyUnit.USD) extends Product with Serializable
Configure class for Forex object
Configure class for Forex object
- appId
Key for the api
- accountLevel
Type of the registered account
- nowishCacheSize
Cache for nowish look up
- nowishSecs
Time range for nowish look up
- eodCacheSize
Cache for historical lookup
- getNearestDay
Flag for deciding whether to get the exchange rate on closer day or previous day
- baseCurrency
Base currency is set to be USD by default if configurableBase flag is false, otherwise it is user-defined
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- case object DeveloperAccount extends AccountType with Product with Serializable
- case object EnterpriseAccount extends AccountType with Product with Serializable
- case object EodRoundDown extends EodRounding with Product with Serializable
Round to previous day
- case object EodRoundUp extends EodRounding with Product with Serializable
Round to next day
- case object UnlimitedAccount extends AccountType with Product with Serializable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated