Interface AdyenSessionService
- All Known Implementing Classes:
DefaultAdyenSessionService
public interface AdyenSessionService
This service is responsible for making call to the Adyen init-session endpoint through
AdyenProvider
-
Method Summary
Modifier and TypeMethodDescriptioncreateSession
(@NonNull SessionRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) This method is responsible for calling Adyen init-session endpoint.
-
Method Details
-
createSession
Map<String,Object> createSession(@NonNull @NonNull SessionRequest request, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) This method is responsible for calling Adyen init-session endpoint.- Parameters:
request
- The request to create a session.contextInfo
- context information around the multi-tenant state- Returns:
- the response from Adyen API.
-