Class TwintConfiguration.Builder

  • All Implemented Interfaces:
    com.adyen.checkout.action.core.internal.ActionHandlingConfigurationBuilder , com.adyen.checkout.components.core.internal.ButtonConfigurationBuilder

    
    public final class TwintConfiguration.Builder
    extends ActionHandlingPaymentMethodConfigurationBuilder<TwintConfiguration, TwintConfiguration.Builder> implements ButtonConfigurationBuilder
                        
    • 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 TwintConfiguration.Builder setShowStorePaymentField(Boolean showStorePaymentField) Set if the option to store the shopper's account for future payments should be shown as an input field.
      final TwintConfiguration.Builder setActionHandlingMethod(ActionHandlingMethod actionHandlingMethod) Sets the method used to handle actions.
      TwintConfiguration.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, addTwintActionConfiguration, addVoucherActionConfiguration, addWeChatPayActionConfiguration
      • Methods inherited from class com.adyen.checkout.components.core.internal.BaseConfigurationBuilder

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

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

      • TwintConfiguration.Builder

        TwintConfiguration.Builder(Environment environment, String clientKey)
        Initialize a configuration builder with the required fields.
        Parameters:
        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.
      • TwintConfiguration.Builder

        TwintConfiguration.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.
      • TwintConfiguration.Builder

        TwintConfiguration.Builder(Locale shopperLocale, Environment environment, String clientKey)
        Builder with parameters for a TwintConfiguration.
        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.