Package com.adyen.checkout.mealvoucherfr
Class MealVoucherFRConfiguration.Builder
-
- All Implemented Interfaces:
-
com.adyen.checkout.action.core.internal.ActionHandlingConfigurationBuilder,com.adyen.checkout.components.core.internal.ButtonConfigurationBuilder
public final class MealVoucherFRConfiguration.Builder extends ActionHandlingPaymentMethodConfigurationBuilder<MealVoucherFRConfiguration, MealVoucherFRConfiguration.Builder> implements ButtonConfigurationBuilder
Builder to create a MealVoucherFRConfiguration.
-
-
Constructor Summary
Constructors Constructor Description MealVoucherFRConfiguration.Builder(Environment environment, String clientKey)Initialize a configuration builder with the required fields. MealVoucherFRConfiguration.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. MealVoucherFRConfiguration.Builder(Locale shopperLocale, Environment environment, String clientKey)Initialize a configuration builder with the required fields and a shopper locale.
-
Method Summary
Modifier and Type Method Description MealVoucherFRConfiguration.BuildersetSubmitButtonVisible(Boolean isSubmitButtonVisible)Sets if submit button will be visible or not. final MealVoucherFRConfiguration.BuildersetSecurityCodeRequired(Boolean isSecurityCodeRequired)Set if the Security code 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
-
MealVoucherFRConfiguration.Builder
MealVoucherFRConfiguration.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.
-
MealVoucherFRConfiguration.Builder
MealVoucherFRConfiguration.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 contextenvironment- 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.
-
MealVoucherFRConfiguration.Builder
MealVoucherFRConfiguration.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
-
setSubmitButtonVisible
MealVoucherFRConfiguration.Builder setSubmitButtonVisible(Boolean isSubmitButtonVisible)
Sets if submit button will be visible or not.
Default is True.
- Parameters:
isSubmitButtonVisible- Is submit button should be visible or not.
-
setSecurityCodeRequired
final MealVoucherFRConfiguration.Builder setSecurityCodeRequired(Boolean isSecurityCodeRequired)
Set if the Security code 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:
isSecurityCodeRequired- If Security code should be hidden or not.
-
-
-
-