Gini Bank APIBuilder
public final class GiniBankAPIBuilder extends GiniCoreAPIBuilder<BankApiDocumentManager, GiniBankAPI, BankApiDocumentRepository, ExtractionsContainer>
The GiniBankAPIBuilder allows you to configure and create a GiniBankAPI instance.
Parameters
context
your application's Context instance (Android)
client Id
your application's client ID for the Gini Bank API
client Secret
your application's client secret for the Gini Bank API
email Domain
the email domain which is used for created Gini users
session Manager
if not null, then the SessionManager instance will be used for session management. If null, then anonymous Gini users will be used.
Constructors
Link copied to clipboard
public GiniBankAPIBuilder GiniBankAPIBuilder(Context context, String clientId, String clientSecret, String emailDomain, SessionManager sessionManager)
Initializes a new builder instance.
Link copied to clipboard
public GiniBankAPIBuilder GiniBankAPIBuilder(Context context, String clientId, String clientSecret, String emailDomain)
Initializes a new builder instance.
Link copied to clipboard
Initializes a new builder instance.
Link copied to clipboard
Initializes a new builder instance.
Link copied to clipboard
Initializes a new builder instance.
Functions
Link copied to clipboard
Builds the GiniBankAPI instance with the configuration settings of the builder instance.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public GiniCoreAPIBuilder<BankApiDocumentManager, GiniBankAPI, BankApiDocumentRepository, ExtractionsContainer> setCache(Cache cache)
Link copied to clipboard
public GiniCoreAPIBuilder<BankApiDocumentManager, GiniBankAPI, BankApiDocumentRepository, ExtractionsContainer> setConnectionTimeoutInMs(Integer connectionTimeoutInMs)
Link copied to clipboard
public GiniCoreAPIBuilder<BankApiDocumentManager, GiniBankAPI, BankApiDocumentRepository, ExtractionsContainer> setCredentialsStore(CredentialsStore credentialsStore)
Link copied to clipboard
public final GiniCoreAPIBuilder<BankApiDocumentManager, GiniBankAPI, BankApiDocumentRepository, ExtractionsContainer> setDebuggingEnabled(Boolean enabled)
Link copied to clipboard
public GiniCoreAPIBuilder<BankApiDocumentManager, GiniBankAPI, BankApiDocumentRepository, ExtractionsContainer> setNetworkSecurityConfigResId(Integer networkSecurityConfigResId)
Link copied to clipboard
public GiniCoreAPIBuilder<BankApiDocumentManager, GiniBankAPI, BankApiDocumentRepository, ExtractionsContainer> setTrustManager(TrustManager trustManager)
Link copied to clipboard