Package com.thalesgroup.gemalto.d1
Class ConfigParams
- java.lang.Object
-
- com.thalesgroup.gemalto.d1.ConfigParams
-
public final class ConfigParams extends Object
The configuration parameters for D1 SDK initializations.- Since:
- 1.0.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static D1Params
buildConfigCard(Activity activity, OEMPayType oemPayType, String samsungServiceID)
Deprecated.Please use more specific code:buildConfigCard(Activity, OEMPayType, String, String)
static D1Params
buildConfigCard(Activity activity, OEMPayType oemPayType, String samsungServiceID, String visaClientAppId)
Build configuration for card module.static D1Params
buildConfigCore(String consumerID)
Build configuration for core module.
-
-
-
Method Detail
-
buildConfigCore
@NonNull public static D1Params buildConfigCore(@NonNull String consumerID)
Build configuration for core module. Application is responsible to provideconsumerID
value.- Parameters:
consumerID
- The consumer identifier.- Returns:
- The param object.
-
buildConfigCard
@NonNull public static D1Params buildConfigCard(@Nullable Activity activity, @NonNull OEMPayType oemPayType, @Nullable String samsungServiceID)
Deprecated.Please use more specific code:buildConfigCard(Activity, OEMPayType, String, String)
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.- 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.
-
-