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) Deprecated.static D1ParamsbuildConfigCard(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(@NonNull OEMPayType oemPayType, @Nullable String samsungServiceID, @Nullable String visaClientAppId) Build configuration for card module.- Parameters:
oemPayType- The OEM wallet type: Google pay or Samsung pay. Note:OEMPayType.NONEis deprecated and should no longer be used for configuration. Provisioning no longer requires this configuration type.samsungServiceID- The Samsung service identifier for Samsung Pay type.visaClientAppId- The Visa Client App Identifier that can be obtained from Visa configuration.- Returns:
- The param object.
- Since:
- 4.4.0
-
buildConfigCard
@NonNull public static D1Params buildConfigCard(@Nullable Activity activity, @NonNull OEMPayType oemPayType, @Nullable String samsungServiceID, @Nullable String visaClientAppId) Deprecated.UsebuildConfigCard(OEMPayType, String, String)instead. Activity from buildConfigCard is no longer needed forPushProvisioningService.addDigitalCardToOEM(String, OEMPayType, Activity, int). This method is deprecated and will be removed in a future release.Builds configuration for card module.- Parameters:
activity- The caller activity which is not mandatory since 3.2.0; If it is set to 'null', useD1PushWallet.addDigitalCardToOEM(String, OEMPayType, Activity, D1Task.Callback)to digitize card.oemPayType- The OEM wallet type: Google pay or Samsung pay.samsungServiceID- The Samsung service identifier for Samsung Pay type.visaClientAppId- The Visa Client App Identifier that can be obtained from Visa configuration.- Returns:
- The param object.
-
buildConfigCard(OEMPayType, String, String)instead.