-
Notifications
You must be signed in to change notification settings - Fork 3
Riko's quirks
Rishabh Joshi edited this page Oct 15, 2018
·
1 revision
The ServiceGenerator
class has a public
method - rebuildWithUrl(HttpUrl url)
, that allows for easy unit testing of Riko. Hence, this method should only be used when your are developing Riko. Ignore this function, otherwise.
Some constants have been declared under the package com.github.rishabh9.riko.upstox.common.constants
that you can make use of in your application development.
Certain endpoints of the Upstox API, returns certain numeric data as empty String if a value doesn't exists for the same. In a dynamic typed language this may work, but in a strongly typed language like Java, this causes a lot of pain. To support such data, we have the NumberString
class and a set of serializers and deserializers, to support it.