Class GiftCardConfiguration.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
      GiftCardConfiguration.Builder setSubmitButtonVisible(Boolean isSubmitButtonVisible) Sets if submit button will be visible or not.
      final GiftCardConfiguration.Builder setPinRequired(Boolean isPinRequired) Set if the PIN field should be hidden from the Component and not requested to the shopper.
      • 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

      • GiftCardConfiguration.Builder

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

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

        GiftCardConfiguration.Builder(Locale shopperLocale, Environment environment, String clientKey)
        Initialize a configuration builder with the required fields and a shopper locale.
        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

      • setPinRequired

         final GiftCardConfiguration.Builder setPinRequired(Boolean isPinRequired)

        Set if the PIN field should be hidden from the Component and not requested to the shopper. Note that this might have implications for the transaction.

        Default is true.

        Parameters:
        isPinRequired - If PIN should be hidden or not.