Example app shows how to use ASA Open API and deep links interaction.
Used to receive information from deep link and save it to local storage using Paper library. The parameters which should be in deep link for API to work properly: AsaConsumerCode, AsaFintechCode, FintechName.
Contains ViewPager with two fragments: UserInfoFragment and TransactionsFragment. To get data from BE uses endpoints which can be found in ApiInterface file. Parameters which is used in the requests are the same: AsaConsumerCode, AsaFintechCode, FintechName which you get from deep link
And the another set of parameters, you will need to get from ASA, the file BEConstants is not included in the repo: hashMap["Ocp-Apim-Subscription-Key"] = BEConstants.API_KEY hashMap["ApplicationCode"] = BEConstants.APP_CODE hashMap["AuthorizationKey"] = BEConstants.AUTHORIZATION_KEY
Contains standard request interceptor and the link to api: "https://openapi.asacore.com/".
We have two endpoints in Open API: @GET("Balance/Accounts") - to get information about accounts. @POST("Transactions") - to get information about transactions, please note that you need to pass empty body into request.
Representing evey data type which is returned from API.
Used to represent data.
Only need to init Paperdb component.