GiniCoreAPIBuilder

public abstract class GiniCoreAPIBuilder<T extends GiniCoreAPI>

Functions

build
Link copied to clipboard
abstract T build()
Builds an instance with the configuration settings of the builder instance.
getGiniApiType
Link copied to clipboard
GiniApiType getGiniApiType()
getSessionManager
Link copied to clipboard
synchronized SessionManager getSessionManager()
Return the SessionManager set via #setSessionManager.
setApiBaseUrl
Link copied to clipboard
GiniCoreAPIBuilder<TsetApiBaseUrl(@NonNull() String newUrl)
Set the base URL of the Gini API.
setCache
Link copied to clipboard
GiniCoreAPIBuilder<TsetCache(@NonNull() Cache cache)
Set the cache implementation to use with Volley.
setConnectionBackOffMultiplier
Link copied to clipboard
GiniCoreAPIBuilder<TsetConnectionBackOffMultiplier(float backOffMultiplier)
Sets the backoff multiplication factor for connection retries.
setConnectionTimeoutInMs
Link copied to clipboard
GiniCoreAPIBuilder<TsetConnectionTimeoutInMs(int connectionTimeoutInMs)
Sets the (initial) timeout for each request.
setCredentialsStore
Link copied to clipboard
GiniCoreAPIBuilder<TsetCredentialsStore(@NonNull() CredentialsStore credentialsStore)
Set the credentials store which is used by the library to store user credentials.
setGiniApiType
Link copied to clipboard
GiniCoreAPIBuilder<TsetGiniApiType(@NonNull() GiniApiType giniApiType)
Set which Gini API to use.
setMaxNumberOfRetries
Link copied to clipboard
GiniCoreAPIBuilder<TsetMaxNumberOfRetries(int maxNumberOfRetries)
Sets the maximal number of retries for each network request.
setNetworkSecurityConfigResId
Link copied to clipboard
GiniCoreAPIBuilder<TsetNetworkSecurityConfigResId(@XmlRes() int networkSecurityConfigResId)
Set the resource id for the network security configuration xml to enable public key pinning.
setUserCenterApiBaseUrl
Link copied to clipboard
GiniCoreAPIBuilder<TsetUserCenterApiBaseUrl(@NonNull() String newUrl)
Set the base URL of the Gini User Center API.

Inheritors

GiniBankAPIBuilder
Link copied to clipboard