Class BcmcConfiguration.Builder

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final BcmcConfiguration.Builder setHolderNameRequired(Boolean isHolderNameRequired) Set if the holder name is required and should be shown as an input field.
      final BcmcConfiguration.Builder setShowStorePaymentField(Boolean showStorePaymentField) Set if the option to store the card for future payments should be shown as an input field.
      final BcmcConfiguration.Builder setShopperReference(String shopperReference) Set the unique reference for the shopper doing this transaction.
      BcmcConfiguration.Builder setSubmitButtonVisible(Boolean isSubmitButtonVisible) Sets if submit button will be visible or not.
      • Methods inherited from class com.adyen.checkout.action.core.internal.ActionHandlingPaymentMethodConfigurationBuilder

        add3ds2ActionConfiguration, addAwaitActionConfiguration, addQRCodeActionConfiguration, addRedirectActionConfiguration, addVoucherActionConfiguration, addWeChatPayActionConfiguration
      • Methods inherited from class com.adyen.checkout.components.core.internal.BaseConfigurationBuilder

        build, setAmount, setAnalyticsEnabled
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BcmcConfiguration.Builder

        BcmcConfiguration.Builder(Context context, Environment environment, String clientKey)
        Alternative constructor that uses the context to fetch the user locale and use it as a shopper locale.
        Parameters:
        context - A Context
        environment - The Environment to be used for internal network calls from the SDK to Adyen.
        clientKey - Your Client Key used for internal network calls from the SDK to Adyen.
      • BcmcConfiguration.Builder

        BcmcConfiguration.Builder(Locale shopperLocale, Environment environment, String clientKey)
        Builder with required parameters for a BcmcConfiguration.
        Parameters:
        shopperLocale - The Locale of the shopper.
        environment - The Environment to be used for internal network calls from the SDK to Adyen.
        clientKey - Your Client Key used for internal network calls from the SDK to Adyen.
    • Method Detail

      • setShowStorePaymentField

         final BcmcConfiguration.Builder setShowStorePaymentField(Boolean showStorePaymentField)

        Set if the option to store the card for future payments should be shown as an input field.

        Default is false.

        When using sessions show store payment field will be ignored and replaced with the value sent to /sessions call.

        Parameters:
        showStorePaymentField - Boolean
      • setShopperReference

         final BcmcConfiguration.Builder setShopperReference(String shopperReference)

        Set the unique reference for the shopper doing this transaction. This value will simply be passed back to you in the PaymentComponentData for convenience.

        Parameters:
        shopperReference - The unique shopper reference