Package com.tapkey.mobile
Class TapkeyEnvironmentConfigBuilder
- java.lang.Object
-
- com.tapkey.mobile.TapkeyEnvironmentConfigBuilder
-
public class TapkeyEnvironmentConfigBuilder extends Object
This class provides a Tapkey environment configuration. Unless suggested otherwise by Tapkey, this class must be used as shown below:// Within the application's onCreate() TapkeyEnvironmentConfigBuilder environmentConfigBuilder = new TapkeyEnvironmentConfigBuilder(); TapkeyEnvironmentConfig environmentConfig = environmentConfigBuilder.build();
-
-
Constructor Summary
Constructors Constructor Description TapkeyEnvironmentConfigBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TapkeyEnvironmentConfig
build()
Builds the TapkeyEnvironment configuration.TapkeyEnvironmentConfigBuilder
setBaseUri(String baseUri)
Overrides the default base URI of the Tapkey Trust Service.TapkeyEnvironmentConfigBuilder
setTenantId(String tenantId)
Overrides the default tenant ID.
-
-
-
Method Detail
-
setBaseUri
public TapkeyEnvironmentConfigBuilder setBaseUri(String baseUri)
Overrides the default base URI of the Tapkey Trust Service.- Parameters:
baseUri
- the base URI.- Returns:
- the TapkeyEnvironmentConfigBuilder for chaining.
-
setTenantId
public TapkeyEnvironmentConfigBuilder setTenantId(String tenantId)
Overrides the default tenant ID.- Parameters:
tenantId
- the tenant ID.- Returns:
- the TapkeyEnvironmentConfigBuilder for chaining.
-
build
public TapkeyEnvironmentConfig build()
Builds the TapkeyEnvironment configuration.- Returns:
- the TapkeyEnvironmentConfig.
-
-