final case class ForexLookupTo[F[_]](conversionAmount: Double, fromCurr: CurrencyUnit, config: ForexConfig, client: OerClient[F]) extends Product with Serializable
ForexLookupTo is the second part of the fluent interface, which passes parameters taken from Forex class to the next stage in the fluent interface and sets the target currency for the lookup/conversion. Method in this class returns ForexLookupWhen object which will be passed to the next stage in the fluent interface.
- conversionAmount
The amount of money to be converted, it is set to 1 unit for look up operation.
- fromCurr
The source currency
- config
Forex config
- client
Passed down client that does actual work
- Alphabetic
- By Inheritance
- ForexLookupTo
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ForexLookupTo(conversionAmount: Double, fromCurr: CurrencyUnit, config: ForexConfig, client: OerClient[F])
- conversionAmount
The amount of money to be converted, it is set to 1 unit for look up operation.
- fromCurr
The source currency
- config
Forex config
- client
Passed down client that does actual work
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
- val client: OerClient[F]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val config: ForexConfig
- val conversionAmount: Double
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val fromCurr: CurrencyUnit
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
to(toCurr: CurrencyUnit): ForexLookupWhen[F]
Continue building the target currency to the desired one
Continue building the target currency to the desired one
- toCurr
Target currency
- returns
ForexLookupWhen object which is final part of the fluent interface
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )