Package com.thalesgroup.gemalto.d1
Class ConfigParams
java.lang.Object
com.thalesgroup.gemalto.d1.ConfigParams
The configuration parameters for D1 SDK initializations.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic D1ParamsbuildConfigCard(Activity activity, OEMPayType oemPayType, String samsungServiceID, String visaClientAppId) Build configuration for card module.static D1ParamsbuildConfigCore(String consumerID) Build configuration for core module.static D1ParamsbuildConfigCore(String consumerID, int secEnum) Build configuration for core module.
-
Method Details
-
buildConfigCore
Build configuration for core module. Application is responsible to provideconsumerIDvalue.- Parameters:
consumerID- The consumer identifier.- Returns:
- The param object.
-
buildConfigCore
Build configuration for core module. Application is responsible to provideconsumerIDvalue.- Parameters:
consumerID- The consumer identifier.secEnum- Please check with onboarding team for the value. If this value is set, it will enable extra security protection. Enabling this value may cause slow API performance due to the added layer of protection.- Returns:
- The param object.
-
buildConfigCard
@NonNull public static D1Params buildConfigCard(@Nullable Activity activity, @NonNull OEMPayType oemPayType, @Nullable String samsungServiceID, @Nullable String visaClientAppId) Build configuration for card module.- Parameters:
activity- The caller activity which is not mandatory since 3.2.0; If it is set to 'null', please useD1PushWallet.addDigitalCardToOEM(String, OEMPayType, Activity, D1Task.Callback)to digitize card.oemPayType- The OEM Pay Type: Google pay or Samsung pay.samsungServiceID- The Samsung service identifier for Samsung Pay type.visaClientAppId- Visa Client App Identifier that can be obtained from Visa configuration.- Returns:
- The param object.
-