Package com.adyen.checkout.adyen3ds2
Class Adyen3DS2Configuration.Builder
-
- All Implemented Interfaces:
public final class Adyen3DS2Configuration.Builder extends BaseConfigurationBuilder<Adyen3DS2Configuration, Adyen3DS2Configuration.Builder>
Builder to create an Adyen3DS2Configuration.
-
-
Constructor Summary
Constructors Constructor Description Adyen3DS2Configuration.Builder(Environment environment, String clientKey)Initialize a configuration builder with the required fields. Adyen3DS2Configuration.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. Adyen3DS2Configuration.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 final Adyen3DS2Configuration.BuildersetUiCustomization(UiCustomization uiCustomization)Set a UiCustomization object to be passed to the 3DS2 SDK for customizing the challenge screen. final Adyen3DS2Configuration.BuildersetThreeDSRequestorAppURL(String threeDSRequestorAppURL)Sets the 3DS Requestor App URL. -
-
Constructor Detail
-
Adyen3DS2Configuration.Builder
Adyen3DS2Configuration.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.
-
Adyen3DS2Configuration.Builder
Adyen3DS2Configuration.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.
-
Adyen3DS2Configuration.Builder
Adyen3DS2Configuration.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
-
setUiCustomization
final Adyen3DS2Configuration.Builder setUiCustomization(UiCustomization uiCustomization)
Set a UiCustomization object to be passed to the 3DS2 SDK for customizing the challenge screen.
- Parameters:
uiCustomization- The customization object.
-
setThreeDSRequestorAppURL
final Adyen3DS2Configuration.Builder setThreeDSRequestorAppURL(String threeDSRequestorAppURL)
Sets the 3DS Requestor App URL. This is used to call your app after an out-of-band (OOB) authentication occurs.
Make sure to also override ChallengeActivity's IntentFilter with your own URL like this when using this method.
-
-
-
-