All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.checkout.sessions.SessionsClient Maven / Gradle / Ivy

There is a newer version: 6.4.2
Show newest version
package com.checkout.sessions;


import com.checkout.EmptyResponse;
import com.checkout.sessions.channel.ChannelData;

import java.util.concurrent.CompletableFuture;

public interface SessionsClient {

    CompletableFuture requestSession(SessionRequest sessionRequest);

    CompletableFuture getSessionDetails(String sessionId);

    CompletableFuture getSessionDetails(String sessionSecret, String sessionId);

    CompletableFuture updateSession(String sessionId, ChannelData channelData);

    CompletableFuture updateSession(String sessionSecret, String sessionId, ChannelData channelData);

    CompletableFuture completeSession(String sessionId);

    CompletableFuture completeSession(String sessionSecret, String sessionId);

    CompletableFuture update3dsMethodCompletionIndicator(String sessionId, ThreeDsMethodCompletionRequest threeDsMethodCompletionRequest);

    CompletableFuture update3dsMethodCompletionIndicator(String sessionSecret, String sessionId, ThreeDsMethodCompletionRequest threeDsMethodCompletionRequest);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy