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(@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 use D1PushWallet.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.