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 Details

    • buildConfigCore

      @NonNull public static D1Params buildConfigCore(@NonNull String consumerID)
      Build configuration for core module. Application is responsible to provide consumerID value.
      Parameters:
      consumerID - The consumer identifier.
      Returns:
      The param object.
    • buildConfigCore

      @NonNull public static D1Params buildConfigCore(@NonNull String consumerID, @NonNull int secEnum)
      Build configuration for core module. Application is responsible to provide consumerID value.
      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.NONE is 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.
      Use buildConfigCard(OEMPayType, String, String) instead. Activity from buildConfigCard is no longer needed for PushProvisioningService.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', use D1PushWallet.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.