Class SchemeConfiguration
java.lang.Object
com.netcetera.threeds.sdk.api.configparameters.builder.SchemeConfiguration
Helper class that provides easy to use methods in order to configure the SDK.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SchemeConfiguration.BuilderReturns the default configuration for amex from the preconfigured schemes where specific parameters can be changed.static SchemeConfiguration.BuilderReturns the default configuration for CB from the preconfigured schemes where specific parameters can be changed.static SchemeConfiguration.BuilderReturns the default configuration for diners from the preconfigured schemes where specific parameters can be changed.static SchemeConfiguration.BuilderReturns the default configuration for EFTPOS from the preconfigured schemes where specific parameters can be changed.Getter forschemeEncryptionPublicKey.Getter forschemeEncryptionPublicKeyId.Getter forschemeIds.Getter forschemeLogo.Getter forschemeLogoDark.Getter forschemeName.Getter forschemePublicRootKey.static SchemeConfiguration.BuilderReturns the default configuration for JCB from the preconfigured schemes where specific parameters can be changed.static SchemeConfiguration.BuilderReturns the default configuration for mastercard from the preconfigured schemes where specific parameters can be changed.static SchemeConfiguration.BuildernewSchemeConfiguration(String schemeName) Returns aSchemeConfiguration.Builderused to create a new scheme.static SchemeConfiguration.BuilderReturns the default configuration for union pay from the preconfigured schemes where specific parameters can be changed.static SchemeConfiguration.BuilderReturns the default configuration for visa from the preconfigured schemes where specific parameters can be changed.
-
Method Details
-
mastercardSchemeConfiguration
Returns the default configuration for mastercard from the preconfigured schemes where specific parameters can be changed.- Returns:
SchemeConfiguration.Builder
-
visaSchemeConfiguration
Returns the default configuration for visa from the preconfigured schemes where specific parameters can be changed.- Returns:
SchemeConfiguration.Builder
-
amexConfiguration
Returns the default configuration for amex from the preconfigured schemes where specific parameters can be changed.- Returns:
SchemeConfiguration.Builder
-
dinersSchemeConfiguration
Returns the default configuration for diners from the preconfigured schemes where specific parameters can be changed.- Returns:
SchemeConfiguration.Builder
-
unionSchemeConfiguration
Returns the default configuration for union pay from the preconfigured schemes where specific parameters can be changed.- Returns:
SchemeConfiguration.Builder
-
jcbConfiguration
Returns the default configuration for JCB from the preconfigured schemes where specific parameters can be changed.- Returns:
SchemeConfiguration.Builder
-
cbConfiguration
Returns the default configuration for CB from the preconfigured schemes where specific parameters can be changed.- Returns:
SchemeConfiguration.Builder
-
eftposConfiguration
Returns the default configuration for EFTPOS from the preconfigured schemes where specific parameters can be changed.- Returns:
SchemeConfiguration.Builder
-
newSchemeConfiguration
Returns aSchemeConfiguration.Builderused to create a new scheme. When using thisSchemeConfiguration.Builderit is required to call allSchemeConfiguration.Buildermethods.The only exception to this rule is if you call
SchemeConfiguration.Builder.encryptionPublicKeyFromAssetCertificate(AssetManager, String), do not callSchemeConfiguration.Builder.encryptionPublicKey(String), as this will override the key set from the previous method. The same rule applies toSchemeConfiguration.Builder.rootPublicKeyFromAssetCertificate(AssetManager, String...)(AssetManager, String)} andSchemeConfiguration.Builder.rootPublicKey(String...).- Parameters:
schemeName-Stringthe name of the scheme.- Returns:
SchemeConfiguration.Builder
-
getSchemeName
Getter forschemeName.- Returns:
- schemeName
-
getSchemeId
Getter forschemeIds.- Returns:
- schemeId
-
getSchemeLogo
Getter forschemeLogo.- Returns:
- schemeLogo
-
getSchemeLogoDark
Getter forschemeLogoDark.- Returns:
- schemeLogoDark
-
getSchemeEncryptionPublicKey
Getter forschemeEncryptionPublicKey.- Returns:
- schemeEncryptionPublicKey
-
getSchemeEncryptionPublicKeyId
Getter forschemeEncryptionPublicKeyId.- Returns:
- schemeEncryptionPublicKeyId
-
getSchemePublicRootKeys
Getter forschemePublicRootKey.- Returns:
- schemePublicRootKeys
-