Class Standalone3DSService
-
- All Implemented Interfaces:
public final class Standalone3DSServiceThe Standalone3DSService is responsible for initializing SDK with configurations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classStandalone3DSService.CompanionHolds session-level state shared across Standalone3DSService instances.
-
Field Summary
Fields Modifier and Type Field Description public final static Standalone3DSService.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description Standalone3DSService(Environment environment)
-
Method Summary
Modifier and Type Method Description final StandaloneResult<ThreeDS2Service, AuthenticationError>initialize(ThreeDS2ServiceConfiguration threeDS2ServiceConfiguration)Method to initialize the Standalone3DSService, passing the values from threeDS2ServiceConfiguration. -
-
Constructor Detail
-
Standalone3DSService
Standalone3DSService(Environment environment)
-
-
Method Detail
-
initialize
final StandaloneResult<ThreeDS2Service, AuthenticationError> initialize(ThreeDS2ServiceConfiguration threeDS2ServiceConfiguration)
Method to initialize the Standalone3DSService, passing the values from threeDS2ServiceConfiguration. The 3DS Requester App calls the initialize method at the start of the payment stage of a transaction. The app passes configParameters, UI configuration parameters, and (optionally) user locale to this method.
Depending on the 3DS Requester App implementation, a ThreeDS2Service instance is called either during 3DS Requestor App startup as a background task or when a transaction is initiated. The state is maintained until the cleanup method is called.
- Parameters:
threeDS2ServiceConfiguration- The ThreeDS2ServiceConfiguration parameters, including context, configParameters, locale, uiCustomization and challengeTimeout.- Returns:
instance of ThreeDS2Service on success and in failure it will return AuthenticationError
-
-
-
-